Home
last modified time | relevance | path

Searched refs:getFileEntryRefForID (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DDependencyGraph.cpp83 SM.getFileEntryRefForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective()
101 SM.getFileEntryRefForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in EmbedDirective()
H A DVerifyDiagnosticConsumer.cpp751 auto FE = SrcManager->getFileEntryRefForID(FID); in HandleDiagnostic()
883 SourceMgr->getFileEntryRefForID(SourceMgr->getFileID(I->first))) in PrintUnexpected()
1044 OptionalFileEntryRef FE = SM.getFileEntryRefForID(FID); in UpdateParsedFileStatus()
H A DFrontendAction.cpp455 OptionalFileEntryRef ModuleMap = SrcMgr.getFileEntryRefForID(ModuleMapID); in loadModuleMapForModuleBuild()
535 if (*OriginalModuleMap != CI.getSourceManager().getFileEntryRefForID( in prepareToBuildModule()
675 if (auto File = OldSM.getFileEntryRefForID(ID)) in BeginSourceFile()
H A DPrecompiledPreamble.cpp127 SM.getFileEntryRefForID(SM.getFileID(IncludeTok.getLocation()))) in InclusionDirective()
556 MaybeFile == SourceMgr.getFileEntryRefForID(SourceMgr.getMainFileID())) in Build()
H A DCompilerInstance.cpp1355 SourceMgr.getFileEntryRefForID(ModuleMapFID); in compileModule()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp339 OptionalFileEntryRef Entry = SMgr.getFileEntryRefForID(ReportFile); in ReportDiag()
409 os << "<h4 class=FileName>" << SMgr.getFileEntryRefForID(*I)->getName() in GenerateHTML()
442 OptionalFileEntryRef Entry = SMgr.getFileEntryRefForID(FID); in GenerateHTML()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp193 SourceMgr.getFileEntryRefForID(SourceMgr.getMainFileID())->getName(); in HandleStartOfHeaderUnit()
205 F = SourceMgr.getFileEntryRefForID(SourceMgr.getMainFileID()); in HandleStartOfHeaderUnit()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp356 OptionalFileEntryRef File = SM.getFileEntryRefForID(ID); in findAPINotes()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp935 auto MainFile = SourceMgr.getFileEntryRefForID(SourceMgr.getMainFileID()); in createModuleForInterfaceUnit()
1318 return SourceMgr.getFileEntryRefForID(getContainingModuleMapFileID(Module)); in getContainingModuleMapFile()
1331 return SourceMgr.getFileEntryRefForID(getModuleMapFileIDForUniquing(M)); in getModuleMapFileForUniquing()
2024 TopLevelModule, *SourceMgr.getFileEntryRefForID(ModuleMapFID)); in parseModuleDecl()
2130 SourceMgr.getFileEntryRefForID(ModuleMapFID)->getName()); in parseModuleDecl()
H A DPPLexerChange.cpp98 if (OptionalFileEntryRef File = SourceMgr.getFileEntryRefForID(FID)) { in EnterSourceFile()
H A DPPDirectives.cpp866 if (auto EntryOfIncl = SourceMgr.getFileEntryRefForID(IDOfIncl)) { in getModuleForLocation()
894 auto FE = SM.getFileEntryRefForID(ID); in getHeaderToIncludeForDiagnostics()
971 OptionalFileEntryRef FileEnt = SourceMgr.getFileEntryRefForID(FID); in LookupFile()
994 } else if ((FileEnt = SourceMgr.getFileEntryRefForID( in LookupFile()
H A DPreprocessor.cpp568 if (OptionalFileEntryRef FE = SourceMgr.getFileEntryRefForID(MainFileID)) in EnterMainSourceFile()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp201 OptionalFileEntryRef FE = SM.getFileEntryRefForID(FileIDAndOffset.first); in AtomicChange()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp188 OptionalFileEntryRef File = SM.getFileEntryRefForID(FID); in operator ()()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h1071 if (auto FE = getFileEntryRefForID(FID)) in getFileEntryForID()
1077 OptionalFileEntryRef getFileEntryRefForID(FileID FID) const { in getFileEntryRefForID() function
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp338 SM.getFileEntryRefForID(XL.getSpellingLoc().getFileID()); in compareCrossTUSourceLocs()
340 SM.getFileEntryRefForID(YL.getSpellingLoc().getFileID()); in compareCrossTUSourceLocs()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMT.cpp601 Ctx.getSourceManager().getFileEntryRefForID(FID); in applyTransform()
H A DObjCMT.cpp164 return canModifyFile(PP.getSourceManager().getFileEntryRefForID(FID)); in canModifyFile()
1787 StringRef(SourceMgr.getFileEntryRefForID(FID)->getName()); in writeLoc()
1960 Ctx.getSourceManager().getFileEntryRefForID(FID); in HandleTranslationUnit()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp907 if (OptionalFileEntryRef FE = SM.getFileEntryRefForID(FID)) { in visitFullComment()
H A DUSRGeneration.cpp36 OptionalFileEntryRef FE = SM.getFileEntryRefForID(Decomposed.first); in printLoc()
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp508 .getFileEntryRefForID(MainFileID) in EndOfMainFile()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp1085 source_mgr.getFileEntryRefForID(source_mgr.getMainFileID()); in ParseInternal()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp950 auto Entry = SourceMgr->getFileEntryRefForID(ID); in dumpForTests()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp971 if (OptionalFileEntryRef F = getFileEntryRefForID(getFileID(SpellingLoc))) in getFilename()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp2675 auto FE = SrcMgr.getFileEntryRefForID(SrcMgr.getFileID(AtLoc)); in ParseModuleImport()

12