Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DLogDiagnosticPrinter.cpp121 if (OptionalFileEntryRef FE = SM.getFileEntryRefForID(FID)) in HandleDiagnostic()
150 if (OptionalFileEntryRef FE = SM.getFileEntryRefForID(FID)) in HandleDiagnostic()
H A DDependencyGraph.cpp78 SM.getFileEntryRefForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective()
H A DHeaderIncludeGen.cpp262 OptionalFileEntryRef FE = SM.getFileEntryRefForID(SM.getMainFileID()); in EndOfMainFile()
H A DVerifyDiagnosticConsumer.cpp746 auto FE = SrcManager->getFileEntryRefForID(FID); in HandleDiagnostic()
878 SourceMgr->getFileEntryRefForID(SourceMgr->getFileID(I->first))) in PrintUnexpected()
1039 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()
669 if (auto File = OldSM.getFileEntryRefForID(ID)) in BeginSourceFile()
H A DPrecompiledPreamble.cpp125 SM.getFileEntryRefForID(SM.getFileID(IncludeTok.getLocation()))) in InclusionDirective()
555 MaybeFile == SourceMgr.getFileEntryRefForID(SourceMgr.getMainFileID())) in Build()
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessorLexer.cpp51 return PP->getSourceManager().getFileEntryRefForID(getFileID()); in getFileEntry()
H A DPPDirectives.cpp865 if (auto EntryOfIncl = SourceMgr.getFileEntryRefForID(IDOfIncl)) { in getModuleForLocation()
893 auto FE = SM.getFileEntryRefForID(ID); in getHeaderToIncludeForDiagnostics()
970 OptionalFileEntryRef FileEnt = SourceMgr.getFileEntryRefForID(FID); in LookupFile()
993 } else if ((FileEnt = SourceMgr.getFileEntryRefForID( in LookupFile()
H A DPPLexerChange.cpp98 if (OptionalFileEntryRef File = SourceMgr.getFileEntryRefForID(FID)) { in EnterSourceFile()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp65 OptionalFileEntryRef Entry = R.getSourceMgr().getFileEntryRefForID(FID); in HandleTranslationUnit()
H A DFixItRewriter.cpp97 Rewrite.getSourceMgr().getFileEntryRefForID(I->first); in WriteFixedFiles()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DPlistReporter.cpp75 EmitString(o << " ", SM.getFileEntryRefForID(FID)->getName()) << '\n'; in writeARCDiagsToPlist()
H A DARCMT.cpp601 Ctx.getSourceManager().getFileEntryRefForID(FID); in applyTransform()
H A DObjCMT.cpp164 return canModifyFile(PP.getSourceManager().getFileEntryRefForID(FID)); in canModifyFile()
1786 StringRef(SourceMgr.getFileEntryRefForID(FID)->getName()); in writeLoc()
1959 Ctx.getSourceManager().getFileEntryRefForID(FID); in HandleTranslationUnit()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DSourceLocation.cpp232 return SrcMgr->getFileEntryRefForID(getFileID()); in getFileEntryRef()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp341 OptionalFileEntryRef Entry = SMgr.getFileEntryRefForID(ReportFile); in ReportDiag()
411 os << "<h4 class=FileName>" << SMgr.getFileEntryRefForID(*I)->getName() in GenerateHTML()
444 OptionalFileEntryRef Entry = SMgr.getFileEntryRefForID(FID); in GenerateHTML()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp246 << SourceMgr.getFileEntryRefForID(MainFileID)->getName() in FindSymbol()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp107 SourceMgr.getFileEntryRefForID(SourceMgr.getMainFileID())->getName(); in HandleStartOfHeaderUnit()
119 F = SourceMgr.getFileEntryRefForID(SourceMgr.getMainFileID()); in HandleStartOfHeaderUnit()
/freebsd-14.2/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp350 OptionalFileEntryRef File = SM.getFileEntryRefForID(ID); in findAPINotes()
/freebsd-14.2/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriter.cpp415 OptionalFileEntryRef Entry = getSourceMgr().getFileEntryRefForID(I->first); in overwriteChangedFiles()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp201 OptionalFileEntryRef FE = SM.getFileEntryRefForID(FileIDAndOffset.first); in AtomicChange()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h1067 if (auto FE = getFileEntryRefForID(FID)) in getFileEntryForID()
1073 OptionalFileEntryRef getFileEntryRefForID(FileID FID) const { in getFileEntryRefForID() function
/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp187 OptionalFileEntryRef File = SM.getFileEntryRefForID(FID); in operator ()()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp335 SM.getFileEntryRefForID(XL.getSpellingLoc().getFileID()); in compareCrossTUSourceLocs()
337 SM.getFileEntryRefForID(YL.getSpellingLoc().getFileID()); in compareCrossTUSourceLocs()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp126 Sources.getFileEntryRefForID(DecomposedLocation.first); in setFromSourceLocation()

12