Lines Matching refs:FileLoc
1259 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic() local
1260 OutDiag.Filename = std::string(SM.getFilename(FileLoc)); in makeStandaloneDiagnostic()
1263 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic()
2348 SourceLocation FileLoc; in TranslateStoredDiagnostics() local
2352 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics()
2353 PreambleSrcLocCache[SD.Filename] = FileLoc; in TranslateStoredDiagnostics()
2355 FileLoc = ItFileID->getValue(); in TranslateStoredDiagnostics()
2358 if (FileLoc.isInvalid()) in TranslateStoredDiagnostics()
2360 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset); in TranslateStoredDiagnostics()
2366 SourceLocation BL = FileLoc.getLocWithOffset(Range.first); in TranslateStoredDiagnostics()
2367 SourceLocation EL = FileLoc.getLocWithOffset(Range.second); in TranslateStoredDiagnostics()
2377 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics()
2378 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics()
2404 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl() local
2405 assert(SM.isLocalSourceLocation(FileLoc)); in addFileLevelDecl()
2408 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in addFileLevelDecl()
2482 SourceLocation FileLoc = SM.translateFileLineCol(File, 1, 1); in getLocation() local
2483 return SM.getMacroArgExpandedLocation(FileLoc.getLocWithOffset(Offset)); in getLocation()
2499 SourceLocation FileLoc in mapLocationFromPreamble() local
2501 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble()
2521 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); in mapLocationToPreamble() local
2522 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()