Home
last modified time | relevance | path

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

12

/external/clang/lib/Frontend/
DLogDiagnosticPrinter.cpp122 const FileEntry *FE = SM.getFileEntryForID(FID); in HandleDiagnostic()
151 const FileEntry *FE = SM.getFileEntryForID(FID); in HandleDiagnostic()
DVerifyDiagnosticConsumer.cpp131 const FileEntry *FE = SrcManager->getFileEntryForID(FID); in HandleDiagnostic()
629 if (const FileEntry *File = SourceMgr->getFileEntryForID( in PrintUnexpected()
680 const FileEntry *DiagFile = SM.getFileEntryForID(SM.getFileID(DiagnosticLoc)); in IsFromSameFile()
684 return (DiagFile == SM.getFileEntryForID(SM.getFileID(DirectiveLoc))); in IsFromSameFile()
786 const FileEntry *FE = SM.getFileEntryForID(FID); in UpdateParsedFileStatus()
DDependencyFile.cpp50 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged()
284 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged()
DDependencyGraph.cpp82 = SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective()
DDiagnosticRenderer.cpp52 if (!SM.getFileEntryForID(SM.getFileID(SM.getSpellingLoc(Loc)))) in getImmediateMacroName()
/external/clang/lib/Lex/
DPreprocessorLexer.cpp57 return PP->getSourceManager().getFileEntryForID(getFileID()); in getFileEntry()
DPreprocessor.cpp405 SourceMgr.getFileEntryForID(SourceMgr.getMainFileID()) == File) { in SetCodeCompletionPoint()
514 if (const FileEntry *FE = SourceMgr.getFileEntryForID(MainFileID)) in EnterMainSourceFile()
DPPDirectives.cpp588 if (const FileEntry *EntryOfIncl = SourceMgr.getFileEntryForID(IDOfIncl)) { in getModuleForLocation()
622 const FileEntry *FileEnt = SourceMgr.getFileEntryForID(FID); in LookupFile()
640 SourceMgr.getFileEntryForID(SourceMgr.getMainFileID()))) in LookupFile()
DPPLexerChange.cpp99 SourceMgr.getFileEntryForID(FID) == CodeCompletionFile) { in EnterSourceFile()
DPTHLexer.cpp596 const FileEntry *FE = PP->getSourceManager().getFileEntryForID(FID); in CreateLexer()
/external/clang/lib/Frontend/Rewrite/
DHTMLPrint.cpp68 const FileEntry* Entry = R.getSourceMgr().getFileEntryForID(FID); in HandleTranslationUnit()
DFixItRewriter.cpp92 const FileEntry *Entry = Rewrite.getSourceMgr().getFileEntryForID(I->first); in WriteFixedFiles()
DInclusionRewriter.cpp388 const FileEntry *FileEnt = PP.getSourceManager().getFileEntryForID(FileId); in HandleHasInclude()
/external/clang/tools/libclang/
DCXSourceLocation.cpp345 *file = const_cast<FileEntry *>(SM.getFileEntryForID(FID)); in clang_getSpellingLocation()
382 *file = const_cast<FileEntry *>(SM.getFileEntryForID(FID)); in clang_getFileLocation()
DCIndexHigh.cpp294 if (SM.getFileEntryForID(LocInfo.first) != data->File) in findFileMacroRefVisit()
366 if (SM.getFileEntryForID(LocInfo.first) != File) in visit()
DIndexingContext.cpp718 return SM.getFileEntryForID(FID) == nullptr; in isNotFromSourceFile()
801 const FileEntry *FE = SM.getFileEntryForID(FID); in markEntityOccurrenceInFile()
901 const FileEntry *FE = SM.getFileEntryForID(FID); in translateLoc()
DIndexing.cpp266 IndexCtx.enteredMainFile(SM.getFileEntryForID(SM.getMainFileID())); in FileChanged()
374 const FileEntry *FE = SM.getFileEntryForID(FID); in shouldSkipFunctionBody()
/external/clang/lib/ARCMigrate/
DPlistReporter.cpp76 EmitString(o << " ", SM.getFileEntryForID(FID)->getName()) << '\n'; in writeARCDiagsToPlist()
DARCMT.cpp600 const FileEntry *file = Ctx.getSourceManager().getFileEntryForID(FID); in applyTransform()
/external/clang/unittests/Tooling/
DRewriterTestContext.h89 Sources.getFileEntryForID(ID), Line, Column); in getLocation()
/external/clang/include/clang/Basic/
DSourceManager.h918 const FileEntry *getFileEntryForID(FileID FID) const { in getFileEntryForID() function
991 if (const FileEntry *F = getFileEntryForID(getFileID(SpellingLoc))) in getFilename()
/external/clang/lib/Tooling/Core/
DReplacement.cpp115 const FileEntry *Entry = Sources.getFileEntryForID(DecomposedLocation.first); in setFromSourceLocation()
/external/clang/lib/Rewrite/
DRewriter.cpp450 getSourceMgr().getFileEntryForID(I->first); in overwriteChangedFiles()
/external/clang/lib/StaticAnalyzer/Core/
DPlistDiagnostics.cpp361 EmitString(o << " ", SM->getFileEntryForID(FID)->getName()) << '\n'; in FlushDiagnosticsImpl()
DHTMLDiagnostics.cpp178 const FileEntry* Entry = SMgr.getFileEntryForID(FID); in ReportDiag()

12