Previsouly, class completions items from the index were missing
template parameters in both the snippet and the label.
Details
Diff Detail
- Repository
- rCTE Clang Tools Extra
Event Timeline
Nice, I'd been wondering about that...
clangd/index/SymbolCollector.cpp | ||
---|---|---|
36 | uber-nit: these three return statements are a bit confusing to me. Maybe omit them and if/elseif, so the default case falls through to the bottom. | |
343 | "an actual run" confused me here. Maybe "We use the primary template, as clang does during code completion"? | |
unittests/clangd/FileIndexTests.cpp | ||
218 | If snippets are off, we'll get "vector", not "vector<>", right? (Probably no need to test this explicitly, but I just want to be sure) |
- Also test plain text completion text
- Clarify the comment
- Simplify conditions in getTemplateOrThis
unittests/clangd/FileIndexTests.cpp | ||
---|---|---|
218 | Yes, that's exactly the case. |
uber-nit: these three return statements are a bit confusing to me. Maybe omit them and if/elseif, so the default case falls through to the bottom.