Home
last modified time | relevance | path

Searched refs:getASTFile (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Basic/
H A DModule.h601 OptionalFileEntryRefDegradesToFileEntryPtr getASTFile() const { in getASTFile() function
607 assert((!File || !getASTFile() || getASTFile() == File) && in setASTFile()
816 StringRef getASTFile() const { return ASTFile; } in getASTFile() function
/llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp235 if (!M->getASTFile()) in EndOfMainFile()
265 MD.ImplicitModulePCMPath = std::string(M->getASTFile()->getName()); in handleTopLevelModule()
282 M->getASTFile()); in handleTopLevelModule()
437 PrebuiltModuleFileIt->second == M->getASTFile()->getName()); in isPrebuiltModule()
/llvm-project-15.0.7/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h39 PCMFile(M->getASTFile()->getName()), in PrebuiltModuleDep()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DExpandModularHeadersPPCallbacks.cpp171 Imported->getASTFile()); in InclusionDirective()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexingAction.cpp249 if (OwningMod && OwningMod->getASTFile() == Mod.File) { in indexPreprocessorModuleMacros()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DModuleManager.cpp55 if (const FileEntry *File = Mod->getASTFile()) in lookupByModuleName()
H A DASTReader.cpp3977 if (auto ASTFE = M ? M->getASTFile() : None) { in ReadModuleMapFileBlock()
5589 if (const FileEntry *CurFile = CurrentModule->getASTFile()) { in ReadSubmoduleBlock()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DCompilerInstance.cpp1850 if (M && M->getASTFile()) in findOrCompileModuleAndReadAST()
1852 if (*ModuleFile == M->getASTFile()) in findOrCompileModuleAndReadAST()
2231 const FileEntry *Entry = TheModule->getASTFile(); in loadGlobalModuleIndex()
/llvm-project-15.0.7/clang/lib/Basic/
H A DModule.cpp683 if (auto File = M.getASTFile()) in ASTSourceDescriptor()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaModule.cpp275 else if (Optional<FileEntryRef> FE = M->getASTFile()) in ActOnModuleDecl()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp502 if (auto File = Mod->getASTFile()) in importedModule()
H A DCIndex.cpp8712 if (auto File = Mod->getASTFile()) in clang_Module_getASTFile()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2741 if (CreateSkeletonCU && IsRootModule && Mod.getASTFile().empty() && M) in getOrCreateModuleRef()
2756 if (CreateSkeletonCU && IsRootModule && !Mod.getASTFile().empty()) { in getOrCreateModuleRef()
2769 if (!llvm::sys::path::is_absolute(Mod.getASTFile())) in getOrCreateModuleRef()
2771 llvm::sys::path::append(PCM, Mod.getASTFile()); in getOrCreateModuleRef()