Main use of these is in the standard library, where they generally clutter up
the index.
Certain macros are also common, we don't touch indexing of macros in this patch.
Paths
| Differential D115301
[clangd] Don't index __reserved_names in headers. ClosedPublic Authored by sammccall on Dec 7 2021, 3:52 PM.
Details
Summary Main use of these is in the standard library, where they generally clutter up Certain macros are also common, we don't touch indexing of macros in this patch.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 4 2022, 10:20 PM sammccall added inline comments. Closed by commit rG055d8090d1d5: [clangd] Don't index __reserved_names in headers. (authored by sammccall). · Explain WhyJan 5 2022, 7:34 AM This revision was automatically updated to reflect the committed changes. sammccall marked an inline comment as done.
Revision Contents
Diff 397582 clang-tools-extra/clangd/AST.h
clang-tools-extra/clangd/AST.cpp
clang-tools-extra/clangd/Quality.cpp
clang-tools-extra/clangd/SourceCode.h
clang-tools-extra/clangd/index/FileIndex.cpp
clang-tools-extra/clangd/index/SymbolCollector.h
clang-tools-extra/clangd/index/SymbolCollector.cpp
clang-tools-extra/clangd/unittests/ASTTests.cpp
clang-tools-extra/clangd/unittests/QualityTests.cpp
clang-tools-extra/clangd/unittests/SourceCodeTests.cpp
clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
|
nit: maybe move definition out-of-line.