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