Previously, clangd would filter completions only on the first part of
the selector (first typed chunk) instead of all remaining selector
fragments (all typed chunks).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Sorry about the delay :-(
clang-tools-extra/clangd/CodeComplete.cpp | ||
---|---|---|
1989 | also here | |
clang/include/clang/Sema/CodeCompleteConsumer.h | ||
612 | I'm not sure we should add this new API. Instead maybe just place the loop at the callsite in getName()? const Chunk *OnlyText = nullptr; for (Chunk &C : CCS) { if (!C is TypedText) continue; if (OnlyText) return CCS.getAllTypedText() OnlyText = &C; } return C ? C->Text : nullptr; |
also here