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()
627 if (const FileEntry *File = SourceMgr->getFileEntryForID( in PrintUnexpected()
678 const FileEntry *DiagFile = SM.getFileEntryForID(SM.getFileID(DiagnosticLoc)); in IsFromSameFile()
682 return (DiagFile == SM.getFileEntryForID(SM.getFileID(DirectiveLoc))); in IsFromSameFile()
784 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()
/external/clang/lib/Lex/
DPreprocessorLexer.cpp57 return PP->getSourceManager().getFileEntryForID(getFileID()); in getFileEntry()
DPreprocessor.cpp408 SourceMgr.getFileEntryForID(SourceMgr.getMainFileID()) == File) { in SetCodeCompletionPoint()
517 if (const FileEntry *FE = SourceMgr.getFileEntryForID(MainFileID)) in EnterMainSourceFile()
DPPDirectives.cpp662 if (const FileEntry *EntryOfIncl = SourceMgr.getFileEntryForID(IDOfIncl)) { in getModuleForLocation()
705 auto *FE = SM.getFileEntryForID(ID); in getModuleHeaderToIncludeForDiagnostics()
759 const FileEntry *FileEnt = SourceMgr.getFileEntryForID(FID); in LookupFile()
778 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.cpp340 *file = const_cast<FileEntry *>(SM.getFileEntryForID(FID)); in clang_getSpellingLocation()
376 *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()
DIndexing.cpp244 DataConsumer.enteredMainFile(SM.getFileEntryForID(SM.getMainFileID())); in FileChanged()
324 const FileEntry *FE = SM.getFileEntryForID(FID); in shouldSkipFunctionBody()
DCXIndexDataConsumer.cpp942 return SM.getFileEntryForID(FID) == nullptr; in isNotFromSourceFile()
1025 const FileEntry *FE = SM.getFileEntryForID(FID); in markEntityOccurrenceInFile()
1122 const FileEntry *FE = SM.getFileEntryForID(FID); in translateLoc()
/external/clang/lib/ARCMigrate/
DPlistReporter.cpp76 EmitString(o << " ", SM.getFileEntryForID(FID)->getName()) << '\n'; in writeARCDiagsToPlist()
DARCMT.cpp601 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.h926 const FileEntry *getFileEntryForID(FileID FID) const { in getFileEntryForID() function
999 if (const FileEntry *F = getFileEntryForID(getFileID(SpellingLoc))) in getFilename()
/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()
/external/clang/lib/Tooling/Core/
DReplacement.cpp110 const FileEntry *Entry = Sources.getFileEntryForID(DecomposedLocation.first); in setFromSourceLocation()
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp454 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in EmitCXXGlobalInitFunc()

12