While here, unhide function-arg-placeholders flag. It's reasonable to want and
maybe we should consider making it default.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/CodeComplete.cpp | ||
---|---|---|
468–469 | while here, i suppose we should perform drop arguments and parentheses magic for macros as well? | |
511 | again while here, maybe introduce constructors into this condition. (Even better, what about a bool isFunctionLikeCompletion(const CompletionItem&) that we can use both here and above?) |
Address review comments.
While here, condense some long comments that repeated the code and seemed confusing.
clang-tools-extra/clangd/CodeComplete.cpp | ||
---|---|---|
511 | Done, though I didn't want to extract the variable too far away as there are some wrinkles (macros may not be function-like, template args...) that we can get away without resolving here. |
clang-tools-extra/clangd/CodeComplete.cpp | ||
---|---|---|
511 | thanks! yes that makes sense. |
while here, i suppose we should perform drop arguments and parentheses magic for macros as well?