Home
last modified time | relevance | path

Searched refs:IndexFile (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DIndexActionTests.cpp48 void checkNodesAreInitialized(const IndexFileIn &IndexFile, in checkNodesAreInitialized() argument
50 ASSERT_TRUE(IndexFile.Sources); in checkNodesAreInitialized()
51 EXPECT_THAT(Paths.size(), IndexFile.Sources->size()); in checkNodesAreInitialized()
54 const auto &Node = IndexFile.Sources->lookup(URI); in checkNodesAreInitialized()
56 EXPECT_EQ(Node.URI.data(), IndexFile.Sources->find(URI)->getKeyData()); in checkNodesAreInitialized()
74 IndexFileIn IndexFile; local
79 Opts, [&](SymbolSlab S) { IndexFile.Symbols = std::move(S); }, in __anon7e85be7d0202()
80 [&](RefSlab R) { IndexFile.Refs = std::move(R); }, in __anon7e85be7d0302()
81 [&](RelationSlab R) { IndexFile.Relations = std::move(R); }, in __anon7e85be7d0402()
82 [&](IncludeGraph IG) { IndexFile.Sources = std::move(IG); }); in __anon7e85be7d0502()
[all …]
DBackgroundIndexTests.cpp75 auto IndexFile = readIndexFile(Storage[ShardIdentifier]); in loadShard() local
76 if (!IndexFile) { in loadShard()
78 << IndexFile.takeError(); in loadShard()
82 return std::make_unique<IndexFileIn>(std::move(*IndexFile)); in loadShard()
/external/llvm-project/clang/unittests/CrossTU/
DCrossTranslationUnitTest.cpp63 llvm::ToolOutputFile IndexFile(IndexFileName, IndexFD); in HandleTranslationUnit() local
64 IndexFile.os() << "c:@F@f#I# " << ASTFileName << "\n"; in HandleTranslationUnit()
65 IndexFile.os().flush(); in HandleTranslationUnit()
186 llvm::ToolOutputFile IndexFile(IndexFileName, IndexFD); in TEST() local
187 IndexFile.os() << IndexText; in TEST()
188 IndexFile.os().flush(); in TEST()
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithThinLTOSummaries/
DLLJITWithThinLTOSummaries.cpp58 cl::opt<std::string> IndexFile{cl::desc("<module summary index>"), variable
188 ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(IndexFile))); in main()
/external/llvm-project/clang-tools-extra/clangd/tool/
DClangdMain.cpp346 opt<Path> IndexFile{ variable
758 if (EnableIndex && !IndexFile.empty()) { in main()
763 if (auto Idx = loadIndex(IndexFile, /*UseDex=*/true)) in main()
776 if (IndexFile.empty()) { in main()
/external/llvm-project/clang/lib/CrossTU/
DCrossTranslationUnit.cpp466 SmallString<256> IndexFile = CrossTUDir; in ensureCTUIndexLoaded() local
468 IndexFile = IndexName; in ensureCTUIndexLoaded()
470 llvm::sys::path::append(IndexFile, IndexName); in ensureCTUIndexLoaded()
472 if (auto IndexMapping = parseCrossTUIndex(IndexFile)) { in ensureCTUIndexLoaded()
/external/llvm-project/clang-tools-extra/clangd/index/
DBackground.h216 IndexFile, enumerator
DBackground.cpp169 T.QueuePri = IndexFile; in indexFileTask()