Lines Matching refs:FileLoc
1293 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic() local
1294 OutDiag.Filename = std::string(SM.getFilename(FileLoc)); in makeStandaloneDiagnostic()
1297 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic()
2386 SourceLocation FileLoc; in TranslateStoredDiagnostics() local
2390 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics()
2391 PreambleSrcLocCache[SD.Filename] = FileLoc; in TranslateStoredDiagnostics()
2393 FileLoc = ItFileID->getValue(); in TranslateStoredDiagnostics()
2396 if (FileLoc.isInvalid()) in TranslateStoredDiagnostics()
2398 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset); in TranslateStoredDiagnostics()
2404 SourceLocation BL = FileLoc.getLocWithOffset(Range.first); in TranslateStoredDiagnostics()
2405 SourceLocation EL = FileLoc.getLocWithOffset(Range.second); in TranslateStoredDiagnostics()
2415 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics()
2416 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics()
2442 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl() local
2443 assert(SM.isLocalSourceLocation(FileLoc)); in addFileLevelDecl()
2446 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in addFileLevelDecl()
2520 SourceLocation FileLoc = SM.translateFileLineCol(File, 1, 1); in getLocation() local
2521 return SM.getMacroArgExpandedLocation(FileLoc.getLocWithOffset(Offset)); in getLocation()
2537 SourceLocation FileLoc in mapLocationFromPreamble() local
2539 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble()
2559 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); in mapLocationToPreamble() local
2560 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()