Lines Matching refs:FileLoc
1285 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic() local
1286 OutDiag.Filename = std::string(SM.getFilename(FileLoc)); in makeStandaloneDiagnostic()
1289 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic()
2378 SourceLocation FileLoc; in TranslateStoredDiagnostics() local
2382 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics()
2383 PreambleSrcLocCache[SD.Filename] = FileLoc; in TranslateStoredDiagnostics()
2385 FileLoc = ItFileID->getValue(); in TranslateStoredDiagnostics()
2388 if (FileLoc.isInvalid()) in TranslateStoredDiagnostics()
2390 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset); in TranslateStoredDiagnostics()
2396 SourceLocation BL = FileLoc.getLocWithOffset(Range.first); in TranslateStoredDiagnostics()
2397 SourceLocation EL = FileLoc.getLocWithOffset(Range.second); in TranslateStoredDiagnostics()
2407 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics()
2408 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics()
2434 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl() local
2435 assert(SM.isLocalSourceLocation(FileLoc)); in addFileLevelDecl()
2438 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in addFileLevelDecl()
2512 SourceLocation FileLoc = SM.translateFileLineCol(File, 1, 1); in getLocation() local
2513 return SM.getMacroArgExpandedLocation(FileLoc.getLocWithOffset(Offset)); in getLocation()
2529 SourceLocation FileLoc in mapLocationFromPreamble() local
2531 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble()
2551 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); in mapLocationToPreamble() local
2552 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()