diff options
author | Andrés Villegas <andresvi@google.com> | 2024-01-03 23:05:20 +0000 |
---|---|---|
committer | Andrés Villegas <andresvi@google.com> | 2024-01-03 23:05:20 +0000 |
commit | e99fdd060baf7ea196f9b9e531b58e5d8489f5fd (patch) | |
tree | 56305609013119524612245bd222dac094de4f68 /clang-tools-extra/clangd/index/FileIndex.cpp | |
parent | d242f164d69ec606db9418c02c9588bffa429928 (diff) | |
parent | 51113244836be55b3d2f181c0f88043b5967eb61 (diff) | |
download | llvm-users/avillega/clangd-migrate-command-line-option-parsin-to-opttable.zip llvm-users/avillega/clangd-migrate-command-line-option-parsin-to-opttable.tar.gz llvm-users/avillega/clangd-migrate-command-line-option-parsin-to-opttable.tar.bz2 |
Created using spr 1.3.5
Diffstat (limited to 'clang-tools-extra/clangd/index/FileIndex.cpp')
-rw-r--r-- | clang-tools-extra/clangd/index/FileIndex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/index/FileIndex.cpp b/clang-tools-extra/clangd/index/FileIndex.cpp index 5052c66..eb9562d 100644 --- a/clang-tools-extra/clangd/index/FileIndex.cpp +++ b/clang-tools-extra/clangd/index/FileIndex.cpp @@ -223,7 +223,7 @@ FileShardedIndex::getShard(llvm::StringRef Uri) const { SlabTuple indexMainDecls(ParsedAST &AST) { return indexSymbols( AST.getASTContext(), AST.getPreprocessor(), AST.getLocalTopLevelDecls(), - &AST.getMacros(), *AST.getPragmaIncludes(), + &AST.getMacros(), AST.getPragmaIncludes(), /*IsIndexMainAST=*/true, AST.version(), /*CollectMainFileRefs=*/true); } |