Home
last modified time | relevance | path

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

12

/src/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.cpp83 SM.getFileEntryRefForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective()
101 SM.getFileEntryRefForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in EmbedDirective()
H A DHeaderIncludeGen.cpp262 OptionalFileEntryRef FE = SM.getFileEntryRefForID(SM.getMainFileID()); in EndOfMainFile()
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()
/src/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessorLexer.cpp51 return PP->getSourceManager().getFileEntryRefForID(getFileID()); in getFileEntry()
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()
/src/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()
/src/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()
1787 StringRef(SourceMgr.getFileEntryRefForID(FID)->getName()); in writeLoc()
1960 Ctx.getSourceManager().getFileEntryRefForID(FID); in HandleTranslationUnit()
/src/contrib/llvm-project/clang/lib/Basic/
H A DSourceLocation.cpp232 return SrcMgr->getFileEntryRefForID(getFileID()); in getFileEntryRef()
/src/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()
/src/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp246 << SourceMgr.getFileEntryRefForID(MainFileID)->getName() in FindSymbol()
/src/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()
/src/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp356 OptionalFileEntryRef File = SM.getFileEntryRefForID(ID); in findAPINotes()
/src/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriter.cpp415 OptionalFileEntryRef Entry = getSourceMgr().getFileEntryRefForID(I->first); in overwriteChangedFiles()
/src/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp201 OptionalFileEntryRef FE = SM.getFileEntryRefForID(FileIDAndOffset.first); in AtomicChange()
/src/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp188 OptionalFileEntryRef File = SM.getFileEntryRefForID(FID); in operator ()()
/src/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
/src/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()
/src/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp126 Sources.getFileEntryRefForID(DecomposedLocation.first); in setFromSourceLocation()

12