Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DIndexActionTests.cpp51 ASSERT_TRUE(IndexFile.Sources); in checkNodesAreInitialized()
75 IndexFileIn IndexFile; local
98 return IndexFile;
126 auto Nodes = toMap(*IndexFile.Sources); in TEST_F()
155 auto Nodes = toMap(*IndexFile.Sources); in TEST_F()
190 auto Nodes = toMap(*IndexFile.Sources); in TEST_F()
222 auto Nodes = toMap(*IndexFile.Sources); in TEST_F()
250 ASSERT_TRUE(IndexFile.Sources); in TEST_F()
251 ASSERT_NE(0u, IndexFile.Sources->size()); in TEST_F()
277 EXPECT_THAT(*IndexFile.Symbols, in TEST_F()
[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-15.0.7/clang/unittests/CrossTU/
H A DCrossTranslationUnitTest.cpp63 llvm::ToolOutputFile IndexFile(IndexFileName, IndexFD); in HandleTranslationUnit() local
64 IndexFile.os() << "9:c:@F@f#I# " << ASTFileName << "\n"; in HandleTranslationUnit()
65 IndexFile.os().flush(); in HandleTranslationUnit()
166 llvm::ToolOutputFile IndexFile(IndexFileName, IndexFD); in TEST() local
167 IndexFile.os() << IndexText; in TEST()
168 IndexFile.os().flush(); in TEST()
/llvm-project-15.0.7/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-15.0.7/clang-tools-extra/clangd/tool/
H A DClangdMain.cpp352 opt<Path> IndexFile{ variable
676 if (!IndexFile.empty()) { in FlagsConfigProvider()
679 Spec.Location = IndexFile; in FlagsConfigProvider()
684 assert(!ProjectRoot.empty() && IndexFile.empty()); in FlagsConfigProvider()
885 if (IndexFile.empty()) { in main()
/llvm-project-15.0.7/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-15.0.7/clang-tools-extra/clangd/index/
H A DBackground.h219 IndexFile, enumerator
H A DBackground.cpp168 T.QueuePri = IndexFile; in indexFileTask()