Searched refs:getASTFile (Results 1 – 19 of 19) sorted by relevance
531 OptionalFileEntryRefDegradesToFileEntryPtr getASTFile() const { in getASTFile() function537 assert((!File || !getASTFile() || getASTFile() == File) && in setASTFile()733 StringRef getASTFile() const { return ASTFile; } in getASTFile() function
384 const FileEntry *getASTFile() const { in getASTFile() function390 assert((File == nullptr || getASTFile() == nullptr || in setASTFile()391 getASTFile() == File) && "file path changed"); in setASTFile()
148 MD.ImplicitModulePCMPath = std::string(M->getASTFile()->getName()); in handleTopLevelModule()151 MDC.Instance.getASTReader()->getModuleManager().lookup(M->getASTFile()); in handleTopLevelModule()
35 if (auto *File = M.getASTFile()) in ASTSourceDescriptor()
170 Imported->getASTFile()); in InclusionDirective()
164 StringRef getASTFile() const { return ASTFile; } in getASTFile() function
55 if (const FileEntry *File = Mod->getASTFile()) in lookupByModuleName()
3908 if (auto ASTFE = M ? M->getASTFile() : None) { in ReadModuleMapFileBlock()5515 if (const FileEntry *CurFile = CurrentModule->getASTFile()) { in ReadSubmoduleBlock()
1765 if (M && M->getASTFile()) in findOrCompileModuleAndReadAST()1767 if (*ModuleFile == M->getASTFile()) in findOrCompileModuleAndReadAST()2166 const FileEntry *Entry = TheModule->getASTFile(); in loadGlobalModuleIndex()
677 if (auto File = M.getASTFile()) in ASTSourceDescriptor()
190 else if (Optional<FileEntryRef> FE = M->getASTFile()) in ActOnModuleDecl()
495 if (auto File = Mod->getASTFile()) in importedModule()
8403 if (auto File = Mod->getASTFile()) in clang_Module_getASTFile()
483 const_cast<FileEntry *>(Mod->getASTFile())), in importedModule()
7366 return const_cast<FileEntry *>(Mod->getASTFile()); in clang_Module_getASTFile()
2567 if (CreateSkeletonCU && IsRootModule && Mod.getASTFile().empty() && M) in getOrCreateModuleRef()2582 if (CreateSkeletonCU && IsRootModule && !Mod.getASTFile().empty()) { in getOrCreateModuleRef()2595 if (!llvm::sys::path::is_absolute(Mod.getASTFile())) in getOrCreateModuleRef()2597 llvm::sys::path::append(PCM, Mod.getASTFile()); in getOrCreateModuleRef()
1711 const FileEntry *Entry = TheModule->getASTFile(); in loadGlobalModuleIndex()
3246 if (auto *ASTFE = M ? M->getASTFile() : nullptr) in ReadModuleMapFileBlock()4501 if (const FileEntry *CurFile = CurrentModule->getASTFile()) { in ReadSubmoduleBlock()
1871 StringRef(), 0, Mod.getASTFile(), in getOrCreateModuleRef()