• Home
  • Raw
  • Download

Lines Matching refs:FileLoc

1270   SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation());  in makeStandaloneDiagnostic()  local
1271 OutDiag.Filename = std::string(SM.getFilename(FileLoc)); in makeStandaloneDiagnostic()
1274 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic()
2375 SourceLocation FileLoc; in TranslateStoredDiagnostics() local
2379 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics()
2380 PreambleSrcLocCache[SD.Filename] = FileLoc; in TranslateStoredDiagnostics()
2382 FileLoc = ItFileID->getValue(); in TranslateStoredDiagnostics()
2385 if (FileLoc.isInvalid()) in TranslateStoredDiagnostics()
2387 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset); in TranslateStoredDiagnostics()
2393 SourceLocation BL = FileLoc.getLocWithOffset(Range.first); in TranslateStoredDiagnostics()
2394 SourceLocation EL = FileLoc.getLocWithOffset(Range.second); in TranslateStoredDiagnostics()
2404 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics()
2405 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics()
2431 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl() local
2432 assert(SM.isLocalSourceLocation(FileLoc)); in addFileLevelDecl()
2435 std::tie(FID, Offset) = SM.getDecomposedLoc(FileLoc); in addFileLevelDecl()
2509 SourceLocation FileLoc = SM.translateFileLineCol(File, 1, 1); in getLocation() local
2510 return SM.getMacroArgExpandedLocation(FileLoc.getLocWithOffset(Offset)); in getLocation()
2526 SourceLocation FileLoc in mapLocationFromPreamble() local
2528 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble()
2548 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); in mapLocationToPreamble() local
2549 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()