Home
last modified time | relevance | path

Searched refs:getFileEntryForID (Results 1 – 25 of 49) sorted by relevance

12

/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DLogDiagnosticPrinter.cpp121 if (const FileEntry *FE = SM.getFileEntryForID(FID)) in HandleDiagnostic()
150 if (const FileEntry *FE = SM.getFileEntryForID(FID)) in HandleDiagnostic()
H A DVerifyDiagnosticConsumer.cpp740 const FileEntry *FE = SrcManager->getFileEntryForID(FID); in HandleDiagnostic()
871 if (const FileEntry *File = SourceMgr->getFileEntryForID( in PrintUnexpected()
924 const FileEntry *DiagFile = SM.getFileEntryForID(SM.getFileID(DiagnosticLoc)); in IsFromSameFile()
928 return (DiagFile == SM.getFileEntryForID(SM.getFileID(DirectiveLoc))); in IsFromSameFile()
1029 const FileEntry *FE = SM.getFileEntryForID(FID); in UpdateParsedFileStatus()
H A DHeaderIncludeGen.cpp257 const FileEntry *FE = SM.getFileEntryForID(SM.getMainFileID()); in EndOfMainFile()
H A DFrontendAction.cpp451 const FileEntry *ModuleMap = SrcMgr.getFileEntryForID(ModuleMapID); in loadModuleMapForModuleBuild()
529 if (*OriginalModuleMap != CI.getSourceManager().getFileEntryForID( in prepareToBuildModule()
662 if (auto *File = OldSM.getFileEntryForID(ID)) in BeginSourceFile()
H A DPrecompiledPreamble.cpp125 SM.getFileEntryForID(SM.getFileID(IncludeTok.getLocation()))) in InclusionDirective()
542 *FileOrErr == SourceMgr.getFileEntryForID(SourceMgr.getMainFileID())) in Build()
/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp65 const FileEntry* Entry = R.getSourceMgr().getFileEntryForID(FID); in HandleTranslationUnit()
H A DFixItRewriter.cpp96 const FileEntry *Entry = Rewrite.getSourceMgr().getFileEntryForID(I->first); in WriteFixedFiles()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Inclusions/
H A DHeaderAnalysis.cpp76 (SM.getFileEntryForID(SM.getMainFileID()) != FE || in isSelfContainedHeader()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCXSourceLocation.cpp331 *file = const_cast<FileEntry *>(SM.getFileEntryForID(FID)); in clang_getSpellingLocation()
367 *file = const_cast<FileEntry *>(SM.getFileEntryForID(FID)); in clang_getFileLocation()
H A DCIndexHigh.cpp291 if (SM.getFileEntryForID(LocInfo.first) != data->File) in findFileMacroRefVisit()
363 if (SM.getFileEntryForID(LocInfo.first) != File) in visit()
H A DIndexing.cpp258 DataConsumer.enteredMainFile(SM.getFileEntryForID(SM.getMainFileID())); in FileChanged()
398 const FileEntry *FE = SM.getFileEntryForID(FID); in shouldSkipFunctionBody()
H A DCXIndexDataConsumer.cpp951 return SM.getFileEntryForID(FID) == nullptr; in isNotFromSourceFile()
1034 const FileEntry *FE = SM.getFileEntryForID(FID); in markEntityOccurrenceInFile()
1131 const FileEntry *FE = SM.getFileEntryForID(FID); in translateLoc()
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DPlistReporter.cpp75 EmitString(o << " ", SM.getFileEntryForID(FID)->getName()) << '\n'; in writeARCDiagsToPlist()
/openbsd-src/gnu/llvm/clang/tools/clang-extdef-mapping/
H A DClangExtDefMapGen.cpp94 SM.getFileEntryForID(SM.getMainFileID())->tryGetRealPathName()); in addIfInMain()
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DSourceLocation.cpp227 return SrcMgr->getFileEntryForID(getFileID()); in getFileEntry()
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DPPLexerChange.cpp89 SourceMgr.getFileEntryForID(FID) == CodeCompletionFile) { in EnterSourceFile()
489 SourceMgr.getFileEntryForID(CurPPLexer->getFileID()))) in HandleEndOfFile()
H A DPreprocessor.cpp424 SourceMgr.getFileEntryForID(SourceMgr.getMainFileID()) == File) { in SetCodeCompletionPoint()
561 if (const FileEntry *FE = SourceMgr.getFileEntryForID(MainFileID)) in EnterMainSourceFile()
609 return FE == SourceMgr.getFileEntryForID(PCHThroughHeaderFileID); in isPCHThroughHeader()
H A DPPDirectives.cpp845 if (const FileEntry *EntryOfIncl = SourceMgr.getFileEntryForID(IDOfIncl)) { in getModuleForLocation()
873 auto *FE = SM.getFileEntryForID(ID); in getHeaderToIncludeForDiagnostics()
953 const FileEntry *FileEnt = SourceMgr.getFileEntryForID(FID); in LookupFile()
972 SourceMgr.getFileEntryForID(SourceMgr.getMainFileID()))) in LookupFile()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp329 const FileEntry *Entry = SMgr.getFileEntryForID(ReportFile); in ReportDiag()
399 os << "<h4 class=FileName>" << SMgr.getFileEntryForID(*I)->getName() in GenerateHTML()
432 const FileEntry* Entry = SMgr.getFileEntryForID(FID); in GenerateHTML()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp246 << SourceMgr.getFileEntryForID(MainFileID)->getName() << SymbolOffset; in FindSymbol()
H A DUSRLocFinder.cpp50 return SM.getFileEntryForID(FileIdAndOffset.first) != nullptr; in IsValidEditLoc()
/openbsd-src/gnu/llvm/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp175 const auto *File = SM.getFileEntryForID(FID); in operator ()()
/openbsd-src/gnu/llvm/clang/lib/Rewrite/
H A DRewriter.cpp470 getSourceMgr().getFileEntryForID(I->first); in overwriteChangedFiles()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp201 const FileEntry *FE = SM.getFileEntryForID(FileIDAndOffset.first); in AtomicChange()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DPathDiagnostic.cpp339 const FileEntry *XFE = SM.getFileEntryForID(XL.getSpellingLoc().getFileID()); in compareCrossTUSourceLocs()
340 const FileEntry *YFE = SM.getFileEntryForID(YL.getSpellingLoc().getFileID()); in compareCrossTUSourceLocs()

12