Home
last modified time | relevance | path

Searched defs:MainFile (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/index/
DBackgroundIndexLoader.cpp93 void BackgroundIndexLoader::load(PathRef MainFile) { in load()
127 for (llvm::StringRef MainFile : MainFiles) { in loadIndexShards() local
DBackground.cpp183 llvm::StringRef MainFile, IndexFileIn Index, in update()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DHeadersTests.cpp125 std::string MainFile = testPath("main.cpp"); member in clang::clangd::__anon375945a30111::HeadersTest
288 std::string MainFile = testPath("main.cpp"); in TEST() local
DDiagnosticsTests.cpp607 URIForFile MainFile = in TEST() local
DSymbolCollectorTests.cpp124 bool MainFile = isInsideMainFile(ND.getBeginLoc(), SM); in shouldCollect() local
/external/llvm-project/clang/include/clang/Tooling/DependencyScanning/
DModuleDepCollector.h154 std::string MainFile; variable
/external/clang/lib/CodeGen/
DCodeGenModule.h195 void addVisited(bool MainFile) { in addVisited()
201 void addMissing(bool MainFile) { in addMissing()
207 void addMismatched(bool MainFile) { ++Mismatched; } in addMismatched()
DCGDeclCXX.cpp454 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in EmitCXXGlobalInitFunc() local
DCodeGenAction.cpp796 llvm::MemoryBuffer *MainFile = SM.getBuffer(FID, &Invalid); in ExecuteAction() local
DCodeGenModule.cpp361 StringRef MainFile) { in reportDiagnostics()
1401 if (const auto *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in isInSanitizerBlacklist() local
DCGDebugInfo.cpp407 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in CreateCompileUnit() local
/external/llvm-project/clang/lib/CodeGen/
DCodeGenModule.h229 void addVisited(bool MainFile) { in addVisited()
235 void addMissing(bool MainFile) { in addMissing()
241 void addMismatched(bool MainFile) { ++Mismatched; } in addMismatched()
DCodeGenAction.cpp1094 Optional<MemoryBufferRef> MainFile = SM.getBufferOrNone(FID); in ExecuteAction() local
DCodeGenModule.cpp388 StringRef MainFile) { in reportDiagnostics()
2476 if (const auto *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in isInSanitizerBlacklist() local
DCGDebugInfo.cpp544 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in CreateCompileUnit() local
/external/clang/lib/Frontend/
DCacheTokens.cpp482 void PTHWriter::GeneratePTH(StringRef MainFile) { in GeneratePTH()
576 const FileEntry *MainFile = SrcMgr.getFileEntryForID(SrcMgr.getMainFileID()); in CacheTokens() local
/external/llvm-project/clang-tools-extra/clangd/refactor/
DRename.cpp58 llvm::Optional<std::string> getOtherRefFile(const Decl &D, StringRef MainFile, in getOtherRefFile()
463 llvm::StringRef MainFile, const SymbolIndex &Index, in findOccurrencesOutsideFile()
/external/llvm-project/clang/lib/Lex/
DHeaderSearch.cpp1779 const FileEntry *File, llvm::StringRef MainFile, bool *IsSystem) { in suggestPathToFileForDiagnostics()
1788 llvm::StringRef File, llvm::StringRef WorkingDir, llvm::StringRef MainFile, in suggestPathToFileForDiagnostics()
DModuleMap.cpp874 auto *MainFile = SourceMgr.getFileEntryForID(SourceMgr.getMainFileID()); in createModuleForInterfaceUnit() local
/external/llvm-project/clang/tools/libclang/
DIndexing.cpp701 else if (auto MainFile = FileMgr.getFile(Unit->getOriginalSourceFileName())) in clang_indexTranslationUnit_Impl() local
/external/clang/lib/Basic/
DSourceManager.cpp1633 const FileEntry *MainFile = MainContentCache->OrigEntry; in translateFile() local
/external/clang/lib/Serialization/
DASTWriter.cpp1496 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in WriteControlBlock() local
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp1365 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in WriteControlBlock() local