Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DLogDiagnosticPrinter.cpp118 if (OptionalFileEntryRef FE = SM.getFileEntryRefForID(FID)) in HandleDiagnostic()
148 if (OptionalFileEntryRef FE = SM.getFileEntryRefForID(FID)) in HandleDiagnostic()
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 DHeaderIncludeGen.cpp312 OptionalFileEntryRef FE = SM.getFileEntryRefForID(SM.getMainFileID()); in EndOfMainFile()
426 OptionalFileEntryRef FromFile = SM.getFileEntryRefForID(SM.getFileID(Loc)); in InclusionDirective()
442 OptionalFileEntryRef FromFile = SM.getFileEntryRefForID(SM.getFileID(Loc)); in moduleImport()
H A DFrontendAction.cpp157 Data.Ref = SM.getFileEntryRefForID(SM.getFileID(R.getBegin())); in HandleTranslationUnit()
606 OptionalFileEntryRef ModuleMap = SrcMgr.getFileEntryRefForID(ModuleMapID); in loadModuleMapForModuleBuild()
686 if (*OriginalModuleMap != CI.getSourceManager().getFileEntryRefForID( in prepareToBuildModule()
823 if (auto File = OldSM.getFileEntryRefForID(ID)) in BeginSourceFile()
H A DVerifyDiagnosticConsumer.cpp759 auto FE = SrcManager->getFileEntryRefForID(FID); in HandleDiagnostic()
891 SourceMgr->getFileEntryRefForID(SourceMgr->getFileID(I->first))) in PrintUnexpected()
1057 OptionalFileEntryRef FE = SM.getFileEntryRefForID(FID); in UpdateParsedFileStatus()
H A DPrecompiledPreamble.cpp127 SM.getFileEntryRefForID(SM.getFileID(IncludeTok.getLocation()))) in InclusionDirective()
554 MaybeFile == SourceMgr.getFileEntryRefForID(SourceMgr.getMainFileID())) in Build()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessorLexer.cpp50 return PP->getSourceManager().getFileEntryRefForID(getFileID()); in getFileEntry()
H A DModuleMap.cpp946 auto MainFile = SourceMgr.getFileEntryRefForID(SourceMgr.getMainFileID()); in createModuleForInterfaceUnit()
1410 return SourceMgr.getFileEntryRefForID(getContainingModuleMapFileID(Module)); in getContainingModuleMapFile()
1423 return SourceMgr.getFileEntryRefForID(getModuleMapFileIDForUniquing(M)); in getModuleMapFileForUniquing()
1702 TopLevelModule, *SourceMgr.getFileEntryRefForID(ModuleMapFID)); in handleModuleDecl()
1783 SourceMgr.getFileEntryRefForID(ModuleMapFID)->getName()); in handleModuleDecl()
H A DPPLexerChange.cpp96 if (OptionalFileEntryRef File = SourceMgr.getFileEntryRefForID(FID)) in EnterSourceFile()
H A DPPDirectives.cpp892 if (auto EntryOfIncl = SourceMgr.getFileEntryRefForID(IDOfIncl)) { in getModuleForLocation()
920 auto FE = SM.getFileEntryRefForID(ID); in getHeaderToIncludeForDiagnostics()
997 OptionalFileEntryRef FileEnt = SourceMgr.getFileEntryRefForID(FID); in LookupFile()
1020 } else if ((FileEnt = SourceMgr.getFileEntryRefForID( in LookupFile()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp66 OptionalFileEntryRef Entry = R.getSourceMgr().getFileEntryRefForID(FID); in HandleTranslationUnit()
H A DFixItRewriter.cpp97 Rewrite.getSourceMgr().getFileEntryRefForID(I->first); in WriteFixedFiles()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceLocation.cpp230 return SrcMgr->getFileEntryRefForID(getFileID()); in getFileEntryRef()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp337 OptionalFileEntryRef Entry = SMgr.getFileEntryRefForID(ReportFile); in ReportDiag()
407 os << "<h4 class=FileName>" << SMgr.getFileEntryRefForID(*I)->getName() in GenerateHTML()
440 OptionalFileEntryRef Entry = SMgr.getFileEntryRefForID(FID); in GenerateHTML()
H A DPlistDiagnostics.cpp804 EmitString(o << " ", SM.getFileEntryRefForID(FID)->getName()) << '\n'; in FlushDiagnosticsImpl()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp239 << SourceMgr.getFileEntryRefForID(MainFileID)->getName() in FindSymbol()
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriter.cpp320 OptionalFileEntryRef Entry = getSourceMgr().getFileEntryRefForID(I->first); in overwriteChangedFiles()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp198 SourceMgr.getFileEntryRefForID(SourceMgr.getMainFileID())->getName(); in HandleStartOfHeaderUnit()
210 F = SourceMgr.getFileEntryRefForID(SourceMgr.getMainFileID()); in HandleStartOfHeaderUnit()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp355 OptionalFileEntryRef File = SM.getFileEntryRefForID(ID); in findAPINotes()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp187 OptionalFileEntryRef File = SM.getFileEntryRefForID(FID); in operator ()()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp200 OptionalFileEntryRef FE = SM.getFileEntryRefForID(FileIDAndOffset.first); in AtomicChange()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h1075 if (auto FE = getFileEntryRefForID(FID)) in getFileEntryForID()
1081 OptionalFileEntryRef getFileEntryRefForID(FileID FID) const { in getFileEntryRefForID() function
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp333 SM.getFileEntryRefForID(XL.getSpellingLoc().getFileID()); in compareCrossTUSourceLocs()
335 SM.getFileEntryRefForID(YL.getSpellingLoc().getFileID()); in compareCrossTUSourceLocs()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp125 Sources.getFileEntryRefForID(DecomposedLocation.first); in setFromSourceLocation()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp906 if (OptionalFileEntryRef FE = SM.getFileEntryRefForID(FID)) { in visitFullComment()

12