Lines Matching refs:FileLoc

1305   SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation());  in makeStandaloneDiagnostic()  local
1306 OutDiag.Filename = std::string(SM.getFilename(FileLoc)); in makeStandaloneDiagnostic()
1309 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic()
2397 SourceLocation FileLoc; in TranslateStoredDiagnostics() local
2401 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics()
2402 PreambleSrcLocCache[SD.Filename] = FileLoc; in TranslateStoredDiagnostics()
2404 FileLoc = ItFileID->getValue(); in TranslateStoredDiagnostics()
2407 if (FileLoc.isInvalid()) in TranslateStoredDiagnostics()
2409 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset); in TranslateStoredDiagnostics()
2415 SourceLocation BL = FileLoc.getLocWithOffset(Range.first); in TranslateStoredDiagnostics()
2416 SourceLocation EL = FileLoc.getLocWithOffset(Range.second); in TranslateStoredDiagnostics()
2426 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics()
2427 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics()
2453 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl() local
2454 assert(SM.isLocalSourceLocation(FileLoc)); in addFileLevelDecl()
2457 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in addFileLevelDecl()
2531 SourceLocation FileLoc = SM.translateFileLineCol(File, 1, 1); in getLocation() local
2532 return SM.getMacroArgExpandedLocation(FileLoc.getLocWithOffset(Offset)); in getLocation()
2548 SourceLocation FileLoc in mapLocationFromPreamble() local
2550 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble()
2570 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); in mapLocationToPreamble() local
2571 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()