reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Basic/SourceManager.h
 1603   SourceLocation translateLineCol(FileID FID,

References

tools/clang/lib/Basic/SourceManager.cpp
 1581   return translateLineCol(FirstFID, Line, Col);
tools/clang/lib/Frontend/TextDiagnostic.cpp
 1191         SM.getDecomposedLoc(SM.translateLineCol(FID, LineNo, 1)).second;
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  516           ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1);
  521           ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1);
tools/clang/lib/StaticAnalyzer/Core/IssueHash.cpp
  146       SM.translateLineCol(SM.getFileID(L), L.getExpansionLineNumber(), col);
tools/clang/tools/clang-format/ClangFormat.cpp
  210       SourceLocation Start = Sources.translateLineCol(ID, FromLine, 1);
  211       SourceLocation End = Sources.translateLineCol(ID, ToLine, UINT_MAX);
tools/clang/tools/clang-refactor/ClangRefactor.cpp
  128         SM.translateLineCol(FID, Range.Begin.first, Range.Begin.second));
  130         SM.translateLineCol(FID, Range.End.first, Range.End.second));
tools/clang/unittests/Basic/SourceManagerTest.cpp
   90   SourceLocation macroExpStartLoc = SourceMgr.translateLineCol(mainFileID, 2, 1);
   91   SourceLocation macroExpEndLoc = SourceMgr.translateLineCol(mainFileID, 2, 6);
  183   auto BeginEOLLoc = SourceMgr.translateLineCol(MainFileID, 1, 7);
  296   SourceLocation defLoc = SourceMgr.translateLineCol(mainFileID, 2, 13);
  297   SourceLocation loc1 = SourceMgr.translateLineCol(mainFileID, 3, 8);
  298   SourceLocation loc2 = SourceMgr.translateLineCol(mainFileID, 4, 4);
  299   SourceLocation loc3 = SourceMgr.translateLineCol(mainFileID, 5, 7);
  300   SourceLocation defLoc2 = SourceMgr.translateLineCol(mainFileID, 6, 22);
tools/clang/unittests/Tooling/ASTSelectionTest.cpp
   22     return SM.translateLineCol(SM.getMainFileID(), Line, Column);