Searched refs:getASTFile (Results 1 – 10 of 10) sorted by relevance
675 OptionalFileEntryRef getASTFile() const { in getASTFile() function681 assert((!getASTFile() || getASTFile() == File) && "file path changed"); in setASTFile()891 StringRef getASTFile() const { return ASTFile; } in getASTFile() function
499 if (!M->getASTFile()) in handleTopLevelModule()526 *M->getASTFile()); in handleTopLevelModule()687 PrebuiltModuleFileIt->second == M->getASTFile()->getName()); in isPrebuiltModule()
44 PCMFile(M->getASTFile()->getName()), in PrebuiltModuleDep()
249 if (OwningMod && OwningMod->getASTFile() == Mod.File) { in indexPreprocessorModuleMacros()
55 if (OptionalFileEntryRef File = Mod->getASTFile()) in lookupByModuleName()
4149 if (auto ASTFE = M ? M->getASTFile() : std::nullopt) { in ReadModuleMapFileBlock()5801 if (OptionalFileEntryRef CurFile = CurrentModule->getASTFile()) { in ReadSubmoduleBlock()
1885 if (M && M->getASTFile()) in findOrCompileModuleAndReadAST()1887 if (*ModuleFile == M->getASTFile()) in findOrCompileModuleAndReadAST()2263 OptionalFileEntryRef Entry = TheModule->getASTFile(); in loadGlobalModuleIndex()
736 if (auto File = M.getASTFile()) in ASTSourceDescriptor()
315 else if (OptionalFileEntryRef FE = M->getASTFile()) in ActOnModuleDecl()
2896 if (CreateSkeletonCU && IsRootModule && Mod.getASTFile().empty() && M) in getOrCreateModuleRef()2911 if (CreateSkeletonCU && IsRootModule && !Mod.getASTFile().empty()) { in getOrCreateModuleRef()2924 if (!llvm::sys::path::is_absolute(Mod.getASTFile())) { in getOrCreateModuleRef()2930 llvm::sys::path::append(PCM, Mod.getASTFile()); in getOrCreateModuleRef()