/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 | 900 Loc = getSLocEntry(getFileID(Loc)).getExpansion().getExpansionLocStart(); in getExpansionLocSlowCase() 936 FID = getFileID(Loc); in getDecomposedExpansionLocSlowCase() 954 FID = getFileID(Loc); in getDecomposedSpellingLocSlowCase() 979 const ExpansionInfo &Expansion = getSLocEntry(getFileID(Loc)).getExpansion(); in getImmediateExpansionRange() 1005 FileID FID = getFileID(Loc); in isMacroArgExpansion() 1017 FileID FID = getFileID(Loc); in isMacroBodyExpansion() 1061 FileID FID = getFileID(Loc); in isAtEndOfImmediateMacroExpansion() 1445 return getBuffer(getFileID(Loc), Invalid)->getBufferIdentifier(); in getBufferName()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | IssueHash.cpp | 133 StringRef Str = GetNthLineOfFile(SM.getBuffer(L.getFileID(), L), in NormalizeLine() 141 SM.translateLineCol(SM.getFileID(L), L.getExpansionLineNumber(), col); in NormalizeLine() 143 SM.getBuffer(SM.getFileID(StartOfLine), StartOfLine); in NormalizeLine() 150 Lexer Lexer(SM.getLocForStartOfFile(SM.getFileID(StartOfLine)), LangOpts, in NormalizeLine()
|
D | HTMLDiagnostics.cpp | 129 path.front()->getLocation().asLocation().getExpansionLoc().getFileID(); in ReportDiag() 614 if (SM.getFileID(InstantiationStart) != BugFileID || in HighlightRange() 615 SM.getFileID(InstantiationEnd) != BugFileID) in HighlightRange()
|
D | PathDiagnostic.cpp | 224 FID = SMgr.getFileID(L); in HandlePathDiagnostic() 225 } else if (SMgr.getFileID(L) != FID) in HandlePathDiagnostic() 233 if (!L.isFileID() || SMgr.getFileID(L) != FID) in HandlePathDiagnostic() 236 if (!L.isFileID() || SMgr.getFileID(L) != FID) in HandlePathDiagnostic()
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 275 assert(SM->getFileID(Loc) == MacroFileID); in retrieveMacroLocation() 298 MacroFileID = SM->getFileID(MacroLocation); in retrieveMacroLocation() 306 MacroFileID = SM->getFileID(MacroArgLocation); in retrieveMacroLocation() 318 IDs.push_back(SM->getFileID(Loc)); in getMacroArgExpansionFileIDs() 358 FileID CaretLocFileID = SM->getFileID(CaretLoc); in mapDiagnosticRanges() 366 FileID BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges() 367 FileID EndFileID = SM->getFileID(End); in mapDiagnosticRanges() 376 BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges() 383 EndFileID = 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() 387 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective() 392 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective() 628 SourceMgr->getFileID(I->first))) in PrintUnexpected() 678 const FileEntry *DiagFile = SM.getFileEntryForID(SM.getFileID(DiagnosticLoc)); in IsFromSameFile() 682 return (DiagFile == SM.getFileEntryForID(SM.getFileID(DirectiveLoc))); in IsFromSameFile()
|
D | DependencyFile.cpp | 50 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged() 284 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() 835 SM.getFileID(SM.getExpansionLoc(Loc)); in emitDiagnosticLoc() 927 if (StartLineNo > LineNo || SM.getFileID(Begin) != FID) in highlightRange() 931 if (EndLineNo < LineNo || SM.getFileID(End) != FID) in highlightRange()
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 111 return SM.getLocForStartOfFile(SM.getFileID(Loc)); in getStartOfFileOrMacro() 117 return Loc.getLocWithOffset(SM.getFileIDSize(SM.getFileID(Loc)) - in getEndOfFileOrMacro() 119 return SM.getLocForEndOfFile(SM.getFileID(Loc)); in getEndOfFileOrMacro() 125 : SM.getIncludeLoc(SM.getFileID(Loc)); in getIncludeOrExpansionLoc() 171 FileID File = SM.getFileID(Loc); in gatherFileIDs() 194 FileIDMapping[SM.getFileID(Loc)] = std::make_pair(Mapping.size(), Loc); in gatherFileIDs() 195 Mapping.push_back(CVM.getFileID(Entry)); in gatherFileIDs() 203 auto Mapping = FileIDMapping.find(SM.getFileID(Loc)); in getCoverageFileID() 256 assert(SM.getFileID(LocStart).isValid() && "region in invalid file"); in emitSourceRegions() 330 FileID StartFileID = SM.getFileID(Start); in VisitDecl() [all …]
|
D | CoverageMappingGen.h | 82 unsigned getFileID(const FileEntry *File);
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 987 FileID getFileID(SourceLocation SpellingLoc) const { in getFileID() function 999 if (const FileEntry *F = getFileEntryForID(getFileID(SpellingLoc))) in getFilename() 1044 FileID FID = getFileID(Loc); in getModuleImportLoc() 1115 FileID FID = getFileID(Loc); in getDecomposedLoc() 1129 FileID FID = getFileID(Loc); in getDecomposedExpansionLoc() 1148 FileID FID = getFileID(Loc); in getDecomposedSpellingLoc() 1339 return getFileID(Loc1) == getFileID(Loc2); in isWrittenInSameFile() 1347 return getFileID(Loc) == getMainFileID(); in isWrittenInMainFile()
|
D | PlistSupport.h | 23 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in AddFID() 33 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in GetFID()
|
D | SourceLocation.h | 283 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/Lex/ |
D | PPLexerChange.cpp | 152 FileID FID = CurPPLexer->getFileID(); in EnterSourceFileWithPTH() 375 SourceMgr.getLocForStartOfFile(CurPPLexer->getFileID()) == in HandleEndOfFile() 392 SourceMgr.getIncludeLoc(CurPPLexer->getFileID()).isValid()) { in HandleEndOfFile() 398 SourceMgr.setNumCreatedFIDsForFileID(CurPPLexer->getFileID(), NumFIDs); in HandleEndOfFile() 403 ExitedFID = CurPPLexer->getFileID(); in HandleEndOfFile()
|
D | PreprocessorLexer.cpp | 57 return PP->getSourceManager().getFileEntryForID(getFileID()); in getFileEntry()
|
D | TokenLexer.cpp | 599 FileID LocFileID = SourceMgr.getFileID(ResultTokLoc); in PasteTokens() 682 FileID MacroFID = SM.getFileID(MacroExpansionStart); in PasteTokens() 683 while (SM.getFileID(StartLoc) != MacroFID) in PasteTokens() 685 while (SM.getFileID(EndLoc) != MacroFID) in PasteTokens()
|
/external/clang/lib/Format/ |
D | TokenAnalyzer.cpp | 82 Env.getSourceManager().getBufferData(Env.getFileID()))) { in TokenAnalyzer() 93 FormatTokenLexer Tokens(Env.getSourceManager(), Env.getFileID(), Style, in process()
|
D | TokenAnalyzer.h | 58 FileID getFileID() const { return ID; } in getFileID() function
|
/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/ARCMigrate/ |
D | ObjCMT.cpp | 175 FileID FID = PP.getSourceManager().getFileID(D->getLocation()); in canModify() 926 PP.getSourceManager().getFileID(TypedefDcl->getLocation()); in migrateNSEnumDecl() 928 PP.getSourceManager().getFileID(EnumDcl->getLocation()); in migrateNSEnumDecl() 1447 FileId = PP.getSourceManager().getFileID(Decl->getLocation()); in migrateCFAnnotation() 1453 FileId = PP.getSourceManager().getFileID(Decl->getLocation()); in migrateCFAnnotation() 1850 FileID FID = PP.getSourceManager().getFileID((*D)->getLocation()); in HandleTranslationUnit()
|