- ignore nameless symbols
- include enum constant declarataion
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
clangd/index/SymbolCollector.cpp | ||
---|---|---|
75 ↗ | (On Diff #129864) | What are those declarations exactly? |
unittests/clangd/SymbolCollectorTests.cpp | ||
174 ↗ | (On Diff #129864) | I'd say we should drop enum constants inside stongly-typed enums (i.e. enum class). |
unittests/clangd/SymbolCollectorTests.cpp | ||
---|---|---|
164 ↗ | (On Diff #130372) | Could you add a test case like the following and check whether ns::X is in the result? namespace ns { enum { X }; } |
Comment Actions
LGTM. (See the comment about changing the comment, though)
clangd/index/SymbolCollector.cpp | ||
---|---|---|
75 ↗ | (On Diff #129864) | Thanks for clarifying. Maybe we could change the comment to say "anonymous" instead of "nameless"? This is what bit got me confused. |