Home
last modified time | relevance | path

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

/llvm-project/clang-tools-extra/clangd/unittests/
H A DIndexActionTests.cpp58 void checkNodesAreInitialized(const IndexFileIn &IndexFile, in checkNodesAreInitialized() argument
60 ASSERT_TRUE(IndexFile.Sources); in checkNodesAreInitialized()
61 EXPECT_THAT(Paths.size(), IndexFile.Sources->size()); in checkNodesAreInitialized()
64 const auto &Node = IndexFile.Sources->lookup(URI); in checkNodesAreInitialized()
66 EXPECT_EQ(Node.URI.data(), IndexFile.Sources->find(URI)->getKeyData()); in checkNodesAreInitialized()
84 IndexFileIn IndexFile; local
89 Opts, [&](SymbolSlab S) { IndexFile.Symbols = std::move(S); }, in __anonc593db390202()
90 [&](RefSlab R) { IndexFile.Refs = std::move(R); }, in __anonc593db390302()
91 [&](RelationSlab R) { IndexFile.Relations = std::move(R); }, in __anonc593db390402()
92 [&](IncludeGraph IG) { IndexFile.Sources = std::move(IG); }); in __anonc593db390502()
[all …]
H A DBackgroundIndexTests.cpp75 auto IndexFile = in loadShard() local
77 if (!IndexFile) { in loadShard()
79 << IndexFile.takeError(); in loadShard()
83 return std::make_unique<IndexFileIn>(std::move(*IndexFile)); in loadShard()
/llvm-project/clang/unittests/CrossTU/
H A DCrossTranslationUnitTest.cpp62 llvm::ToolOutputFile IndexFile(IndexFileName, IndexFD); in HandleTranslationUnit() local
63 IndexFile.os() << "9:c:@F@f#I# " << ASTFileName << "\n"; in HandleTranslationUnit()
64 IndexFile.os().flush(); in HandleTranslationUnit()
165 llvm::ToolOutputFile IndexFile(IndexFileName, IndexFD); in TEST() local
166 IndexFile.os() << IndexText; in TEST()
167 IndexFile.os().flush(); in TEST()
/llvm-project/llvm/examples/OrcV2Examples/LLJITWithThinLTOSummaries/
H A DLLJITWithThinLTOSummaries.cpp58 cl::opt<std::string> IndexFile{cl::desc("<module summary index>"), variable
188 ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(IndexFile))); in main()
/llvm-project/clang-tools-extra/clangd/tool/
H A DClangdMain.cpp355 opt<Path> IndexFile{ variable
694 if (!IndexFile.empty()) { in FlagsConfigProvider()
697 Spec.Location = IndexFile; in FlagsConfigProvider()
702 assert(!ProjectRoot.empty() && IndexFile.empty()); in FlagsConfigProvider()
916 if (IndexFile.empty()) { in clangdMain()
919 elog("When enabling remote index, IndexFile should not be specified. " in clangdMain()
/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp494 SmallString<256> IndexFile = CrossTUDir; in ensureCTUIndexLoaded() local
496 IndexFile = IndexName; in ensureCTUIndexLoaded()
498 llvm::sys::path::append(IndexFile, IndexName); in ensureCTUIndexLoaded()
500 if (auto IndexMapping = parseCrossTUIndex(IndexFile)) { in ensureCTUIndexLoaded()
/llvm-project/clang-tools-extra/clangd/index/
H A DBackground.h223 IndexFile,
220 IndexFile, global() enumerator
H A DBackground.cpp171 T.QueuePri = IndexFile; in indexFileTask()