[all-commits] [llvm/llvm-project] 055d80: [clangd] Don't index __reserved_names in headers.
Sam McCall via All-commits
all-commits at lists.llvm.org
Wed Jan 5 07:34:23 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 055d8090d1d5137dab88533995e0c5d9b5390c28
https://github.com/llvm/llvm-project/commit/055d8090d1d5137dab88533995e0c5d9b5390c28
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2022-01-05 (Wed, 05 Jan 2022)
Changed paths:
M clang-tools-extra/clangd/AST.cpp
M clang-tools-extra/clangd/AST.h
M clang-tools-extra/clangd/Quality.cpp
M clang-tools-extra/clangd/SourceCode.h
M clang-tools-extra/clangd/index/FileIndex.cpp
M clang-tools-extra/clangd/index/SymbolCollector.cpp
M clang-tools-extra/clangd/index/SymbolCollector.h
M clang-tools-extra/clangd/unittests/ASTTests.cpp
M clang-tools-extra/clangd/unittests/QualityTests.cpp
M clang-tools-extra/clangd/unittests/SourceCodeTests.cpp
M clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
Log Message:
-----------
[clangd] Don't index __reserved_names in headers.
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.
Differential Revision: https://reviews.llvm.org/D115301
More information about the All-commits
mailing list