/external/clang/lib/Basic/ |
D | SourceLocation.cpp | 80 FileID FullSourceLoc::getFileID() const { in getFileID() function in FullSourceLoc 82 return SrcMgr->getFileID(*this); in getFileID() 137 return SrcMgr->getBuffer(SrcMgr->getFileID(*this), Invalid)->getBuffer();; in getBufferData()
|
D | SourceManager.cpp | 897 Loc = getSLocEntry(getFileID(Loc)).getExpansion().getExpansionLocStart(); in getExpansionLocSlowCase() 933 FID = getFileID(Loc); in getDecomposedExpansionLocSlowCase() 951 FID = getFileID(Loc); in getDecomposedSpellingLocSlowCase() 976 const ExpansionInfo &Expansion = getSLocEntry(getFileID(Loc)).getExpansion(); in getImmediateExpansionRange() 1001 FileID FID = getFileID(Loc); in isMacroArgExpansion() 1009 FileID FID = getFileID(Loc); in isMacroBodyExpansion() 1053 FileID FID = getFileID(Loc); in isAtEndOfImmediateMacroExpansion() 1430 return getBuffer(getFileID(Loc), Invalid)->getBufferIdentifier(); in getBufferName()
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 52 if (!SM.getFileEntryForID(SM.getFileID(SM.getSpellingLoc(Loc)))) in getImmediateMacroName() 328 FileID CaretLocFileID = SM->getFileID(CaretLoc); in mapDiagnosticRanges() 336 FileID BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges() 337 FileID EndFileID = SM->getFileID(End); in mapDiagnosticRanges() 346 BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges() 353 EndFileID = SM->getFileID(End); in mapDiagnosticRanges() 369 BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges() 370 if (BeginFileID != SM->getFileID(End)) { in mapDiagnosticRanges()
|
D | VerifyDiagnosticConsumer.cpp | 64 Verify.UpdateParsedFileStatus(SM, SM.getFileID(Loc), in FileChanged() 129 FileID FID = SrcManager->getFileID(Loc); in HandleDiagnostic() 389 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective() 394 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective() 630 SourceMgr->getFileID(I->first))) in PrintUnexpected() 680 const FileEntry *DiagFile = SM.getFileEntryForID(SM.getFileID(DiagnosticLoc)); in IsFromSameFile() 684 return (DiagFile == SM.getFileEntryForID(SM.getFileID(DirectiveLoc))); in IsFromSameFile()
|
D | DependencyFile.cpp | 49 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged() 252 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged()
|
D | DependencyGraph.cpp | 82 = SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective()
|
D | LogDiagnosticPrinter.cpp | 149 FileID FID = SM.getFileID(Info.getLocation()); in HandleDiagnostic()
|
D | TextDiagnostic.cpp | 779 FileID FID = SM.getFileID(Loc); in emitDiagnosticLoc() 827 SM.getFileID(SM.getExpansionLoc(Loc)); in emitDiagnosticLoc() 919 if (StartLineNo > LineNo || SM.getFileID(Begin) != FID) in highlightRange() 923 if (EndLineNo < LineNo || SM.getFileID(End) != FID) in highlightRange()
|
/external/clang/lib/Lex/ |
D | PPLexerChange.cpp | 151 FileID FID = CurPPLexer->getFileID(); in EnterSourceFileWithPTH() 304 SourceMgr.getFileEntryForID(CurPPLexer->getFileID())) { in HandleEndOfFile() 364 SourceMgr.getLocForStartOfFile(CurPPLexer->getFileID()) == in HandleEndOfFile() 381 SourceMgr.getIncludeLoc(CurPPLexer->getFileID()).isValid()) { in HandleEndOfFile() 387 SourceMgr.setNumCreatedFIDsForFileID(CurPPLexer->getFileID(), NumFIDs); in HandleEndOfFile() 392 ExitedFID = CurPPLexer->getFileID(); in HandleEndOfFile()
|
D | PreprocessorLexer.cpp | 57 return PP->getSourceManager().getFileEntryForID(getFileID()); in getFileEntry()
|
D | TokenLexer.cpp | 592 FileID LocFileID = SourceMgr.getFileID(ResultTokLoc); in PasteTokens() 674 FileID MacroFID = SM.getFileID(MacroExpansionStart); in PasteTokens() 675 while (SM.getFileID(StartLoc) != MacroFID) in PasteTokens() 677 while (SM.getFileID(EndLoc) != MacroFID) in PasteTokens()
|
D | PPDirectives.cpp | 597 FileID IDOfIncl = SourceMgr.getFileID(SourceMgr.getExpansionLoc(FilenameLoc)); in getModuleForLocation() 624 FileID FID = getCurrentFileLexer()->getFileID(); in LookupFile() 657 ISEntry.ThePPLexer->getFileID()))) in LookupFile() 702 if ((CurFileEnt = SourceMgr.getFileEntryForID(CurPPLexer->getFileID()))) { in LookupFile() 718 SourceMgr.getFileEntryForID(ISEntry.ThePPLexer->getFileID()))) { in LookupFile()
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 120 return SM.getLocForStartOfFile(SM.getFileID(Loc)); in getStartOfFileOrMacro() 126 return Loc.getLocWithOffset(SM.getFileIDSize(SM.getFileID(Loc)) - in getEndOfFileOrMacro() 128 return SM.getLocForEndOfFile(SM.getFileID(Loc)); in getEndOfFileOrMacro() 134 : SM.getIncludeLoc(SM.getFileID(Loc)); in getIncludeOrExpansionLoc() 165 FileID File = SM.getFileID(Loc); in gatherFileIDs() 185 FileIDMapping[SM.getFileID(Loc)] = std::make_pair(Mapping.size(), Loc); in gatherFileIDs() 186 Mapping.push_back(CVM.getFileID(Entry)); in gatherFileIDs() 194 auto Mapping = FileIDMapping.find(SM.getFileID(Loc)); in getCoverageFileID() 253 assert(!SM.getFileID(LocStart).isInvalid() && "region in invalid file"); in emitSourceRegions() 476 FileID ParentFile = SM.getFileID(LCA); in handleFileExit() [all …]
|
D | CoverageMappingGen.h | 80 unsigned getFileID(const FileEntry *File);
|
/external/clang/include/clang/Basic/ |
D | PlistSupport.h | 23 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in AddFID() 33 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in GetFID()
|
D | SourceManager.h | 954 FileID getFileID(SourceLocation SpellingLoc) const { in getFileID() function 966 if (const FileEntry *F = getFileEntryForID(getFileID(SpellingLoc))) in getFilename() 1011 FileID FID = getFileID(Loc); in getModuleImportLoc() 1082 FileID FID = getFileID(Loc); in getDecomposedLoc() 1096 FileID FID = getFileID(Loc); in getDecomposedExpansionLoc() 1115 FileID FID = getFileID(Loc); in getDecomposedSpellingLoc() 1302 return getFileID(Loc1) == getFileID(Loc2); in isWrittenInSameFile() 1310 return getFileID(Loc) == getMainFileID(); in isWrittenInMainFile()
|
D | SourceLocation.h | 282 FileID getFileID() const;
|
/external/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 37 FileID FID = SM.getFileID(B); in HighlightRange() 38 assert(SM.getFileID(E) == FID && "B/E not in the same file!"); in HighlightRange() 526 if (SM.getFileID(LLoc.first) != FID) { in HighlightMacros() 531 assert(SM.getFileID(LLoc.second) == FID && in HighlightMacros()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCUnusedIVarsChecker.cpp | 102 if (SM.getFileID(L) == FID) in Scan() 153 Scan(M, D->getDeclContext(), SM.getFileID(D->getLocation()), SM); in checkObjCUnusedIvar()
|
/external/clang/include/clang/Lex/ |
D | PreprocessorLexer.h | 153 FileID getFileID() const { in getFileID() function
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | HTMLDiagnostics.cpp | 127 (*path.begin())->getLocation().asLocation().getExpansionLoc().getFileID(); in ReportDiag() 596 if (SM.getFileID(InstantiationStart) != BugFileID || in HighlightRange() 597 SM.getFileID(InstantiationEnd) != BugFileID) in HighlightRange()
|
D | PathDiagnostic.cpp | 228 FID = SMgr.getFileID(L); in HandlePathDiagnostic() 229 } else if (SMgr.getFileID(L) != FID) in HandlePathDiagnostic() 237 if (!L.isFileID() || SMgr.getFileID(L) != FID) in HandlePathDiagnostic() 240 if (!L.isFileID() || SMgr.getFileID(L) != FID) in HandlePathDiagnostic()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 175 FileID FID = PP.getSourceManager().getFileID(D->getLocation()); in canModify() 937 PP.getSourceManager().getFileID(TypedefDcl->getLocation()); in migrateNSEnumDecl() 939 PP.getSourceManager().getFileID(EnumDcl->getLocation()); in migrateNSEnumDecl() 1459 FileId = PP.getSourceManager().getFileID(Decl->getLocation()); in migrateCFAnnotation() 1465 FileId = PP.getSourceManager().getFileID(Decl->getLocation()); in migrateCFAnnotation() 1868 FileID FID = PP.getSourceManager().getFileID((*D)->getLocation()); in HandleTranslationUnit()
|
/external/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 63 SM.getFileID(Location) : in apply()
|
/external/clang/tools/libclang/ |
D | CXSourceLocation.cpp | 257 FileID fileID = SM.getFileID(ExpansionLoc); in clang_getExpansionLocation()
|