| /llvm-project-15.0.7/clang/unittests/Basic/ |
| H A D | SourceManagerTest.cpp | 159 SourceLocation macroExpStartLoc = SourceMgr.translateLineCol(mainFileID, 2, 1); in TEST_F() 160 SourceLocation macroExpEndLoc = SourceMgr.translateLineCol(mainFileID, 2, 6); in TEST_F() 252 auto BeginEOLLoc = SourceMgr.translateLineCol(MainFileID, 1, 7); in TEST_F() 393 SourceLocation defLoc = SourceMgr.translateLineCol(mainFileID, 2, 13); in TEST_F() 394 SourceLocation loc1 = SourceMgr.translateLineCol(mainFileID, 3, 8); in TEST_F() 395 SourceLocation loc2 = SourceMgr.translateLineCol(mainFileID, 4, 4); in TEST_F() 396 SourceLocation loc3 = SourceMgr.translateLineCol(mainFileID, 5, 7); in TEST_F() 397 SourceLocation defLoc2 = SourceMgr.translateLineCol(mainFileID, 6, 22); in TEST_F()
|
| H A D | SarifTest.cpp | 75 auto BeginLoc = SourceMgr.translateLineCol(FID, Begin.first, Begin.second); in getFakeCharSourceRange() 76 auto EndLoc = SourceMgr.translateLineCol(FID, End.first, End.second); in getFakeCharSourceRange()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | MacroToEnumCheck.cpp | 238 SM.translateLineCol(SM.getFileID(Loc), SM.getSpellingLineNumber(Loc), 1); in isConsecutiveMacro() 484 Begin = SM.translateLineCol(SM.getFileID(Begin), in fixEnumMacro() 494 SourceLocation DefineBegin = SM.translateLineCol( in fixEnumMacro() 515 End = SM.translateLineCol(SM.getFileID(End), in fixEnumMacro()
|
| /llvm-project-15.0.7/clang/unittests/Frontend/ |
| H A D | TextDiagnosticTest.cpp | 66 FullSourceLoc Loc(SrcMgr.translateLineCol(fid, /*Line=*/1, /*Col=*/2), in TEST()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | VerifyDiagnosticConsumer.cpp | 519 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective() 524 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective() 559 ExpectedLoc = SM.translateLineCol(FID, Line, 1); in ParseDirective() 562 ExpectedLoc = SM.translateLineCol(FID, 1, 1); in ParseDirective()
|
| H A D | TextDiagnostic.cpp | 1183 SM.getDecomposedLoc(SM.translateLineCol(FID, LineNo, 1)).second; in emitSnippetAndCaret()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | IssueHash.cpp | 148 SM.translateLineCol(SM.getFileID(L), L.getExpansionLineNumber(), col); in NormalizeLine()
|
| /llvm-project-15.0.7/clang/tools/clang-format/ |
| H A D | ClangFormat.cpp | 257 SourceLocation Start = Sources.translateLineCol(ID, FromLine, 1); in fillRanges() 258 SourceLocation End = Sources.translateLineCol(ID, ToLine, UINT_MAX); in fillRanges()
|
| /llvm-project-15.0.7/clang/tools/clang-refactor/ |
| H A D | ClangRefactor.cpp | 128 SM.translateLineCol(FID, Range.Begin.first, Range.Begin.second)); in forAllRanges() 130 SM.translateLineCol(FID, Range.End.first, Range.End.second)); in forAllRanges()
|
| /llvm-project-15.0.7/clang/unittests/Analysis/ |
| H A D | MacroExpansionContextTest.cpp | 90 SourceMgr.translateLineCol(SourceMgr.getMainFileID(), row, col); in at()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Preamble.cpp | 760 Loc = SM.translateLineCol(SM.getMainFileID(), Presumed.getLine(), in translatePreamblePatchLocation()
|
| H A D | XRefs.cpp | 698 SourceLocation LocMin = SM.translateLineCol(File, LineMin, 1); in findNearbyIdentifier() 700 SourceLocation LocMax = SM.translateLineCol(File, LineMax, 1); in findNearbyIdentifier()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1645 return translateLineCol(FirstFID, Line, Col); in translateFileLineCol() 1691 SourceLocation SourceManager::translateLineCol(FileID FID, in translateLineCol() function in SourceManager
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | SourceManager.h | 1618 SourceLocation translateLineCol(FileID FID,
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | ASTSelectionTest.cpp | 22 return SM.translateLineCol(SM.getMainFileID(), Line, Column); in translate()
|