Searched refs:getFileID (Results 1 – 25 of 41) sorted by relevance
12
80 FileID FullSourceLoc::getFileID() const { in getFileID() function in FullSourceLoc82 return SrcMgr->getFileID(*this); in getFileID()137 return SrcMgr->getBuffer(SrcMgr->getFileID(*this), Invalid)->getBuffer(); in getBufferData()
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()1438 return getBuffer(getFileID(Loc), Invalid)->getBufferIdentifier(); in getBufferName()
133 StringRef Str = GetNthLineOfFile(SM.getBuffer(L.getFileID(), L), in NormalizeLine()138 SM.translateLineCol(SM.getFileID(L), L.getExpansionLineNumber(), col); in NormalizeLine()140 SM.getBuffer(SM.getFileID(StartOfLine), StartOfLine); in NormalizeLine()147 Lexer Lexer(SM.getLocForStartOfFile(SM.getFileID(StartOfLine)), LangOpts, in NormalizeLine()
129 (*path.begin())->getLocation().asLocation().getExpansionLoc().getFileID(); in ReportDiag()614 if (SM.getFileID(InstantiationStart) != BugFileID || in HighlightRange()615 SM.getFileID(InstantiationEnd) != BugFileID) in HighlightRange()
226 FID = SMgr.getFileID(L); in HandlePathDiagnostic()227 } else if (SMgr.getFileID(L) != FID) in HandlePathDiagnostic()235 if (!L.isFileID() || SMgr.getFileID(L) != FID) in HandlePathDiagnostic()238 if (!L.isFileID() || SMgr.getFileID(L) != FID) in HandlePathDiagnostic()
52 if (!SM.getFileEntryForID(SM.getFileID(SM.getSpellingLoc(Loc)))) in getImmediateMacroName()316 assert(SM->getFileID(Loc) == MacroFileID); in retrieveMacroLocation()339 MacroFileID = SM->getFileID(MacroLocation); in retrieveMacroLocation()347 MacroFileID = SM->getFileID(MacroArgLocation); in retrieveMacroLocation()359 IDs.push_back(SM->getFileID(Loc)); in getMacroArgExpansionFileIDs()399 FileID CaretLocFileID = SM->getFileID(CaretLoc); in mapDiagnosticRanges()407 FileID BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges()408 FileID EndFileID = SM->getFileID(End); in mapDiagnosticRanges()417 BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges()424 EndFileID = SM->getFileID(End); in mapDiagnosticRanges()
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()
50 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged()284 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged()
82 = SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective()
149 FileID FID = SM.getFileID(Info.getLocation()); in HandleDiagnostic()
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()
109 return SM.getLocForStartOfFile(SM.getFileID(Loc)); in getStartOfFileOrMacro()115 return Loc.getLocWithOffset(SM.getFileIDSize(SM.getFileID(Loc)) - in getEndOfFileOrMacro()117 return SM.getLocForEndOfFile(SM.getFileID(Loc)); in getEndOfFileOrMacro()123 : SM.getIncludeLoc(SM.getFileID(Loc)); in getIncludeOrExpansionLoc()159 FileID File = SM.getFileID(Loc); in gatherFileIDs()179 FileIDMapping[SM.getFileID(Loc)] = std::make_pair(Mapping.size(), Loc); in gatherFileIDs()180 Mapping.push_back(CVM.getFileID(Entry)); in gatherFileIDs()188 auto Mapping = FileIDMapping.find(SM.getFileID(Loc)); in getCoverageFileID()247 assert(SM.getFileID(LocStart).isValid() && "region in invalid file"); in emitSourceRegions()474 FileID ParentFile = SM.getFileID(LCA); in handleFileExit()[all …]
80 unsigned getFileID(const FileEntry *File);
23 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in AddFID()33 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in GetFID()
979 FileID getFileID(SourceLocation SpellingLoc) const { in getFileID() function991 if (const FileEntry *F = getFileEntryForID(getFileID(SpellingLoc))) in getFilename()1036 FileID FID = getFileID(Loc); in getModuleImportLoc()1107 FileID FID = getFileID(Loc); in getDecomposedLoc()1121 FileID FID = getFileID(Loc); in getDecomposedExpansionLoc()1140 FileID FID = getFileID(Loc); in getDecomposedSpellingLoc()1331 return getFileID(Loc1) == getFileID(Loc2); in isWrittenInSameFile()1339 return getFileID(Loc) == getMainFileID(); in isWrittenInMainFile()
283 FileID getFileID() const;
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()
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()
57 return PP->getSourceManager().getFileEntryForID(getFileID()); in getFileEntry()
599 FileID LocFileID = SourceMgr.getFileID(ResultTokLoc); in PasteTokens()681 FileID MacroFID = SM.getFileID(MacroExpansionStart); in PasteTokens()682 while (SM.getFileID(StartLoc) != MacroFID) in PasteTokens()684 while (SM.getFileID(EndLoc) != MacroFID) in PasteTokens()
102 if (SM.getFileID(L) == FID) in Scan()153 Scan(M, D->getDeclContext(), SM.getFileID(D->getLocation()), SM); in checkObjCUnusedIvar()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
153 FileID getFileID() const { in getFileID() function
175 FileID FID = PP.getSourceManager().getFileID(D->getLocation()); in canModify()925 PP.getSourceManager().getFileID(TypedefDcl->getLocation()); in migrateNSEnumDecl()927 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()1852 FileID FID = PP.getSourceManager().getFileID((*D)->getLocation()); in HandleTranslationUnit()