/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 109 SourceLocation macroExpStartLoc = SourceMgr.translateLineCol(mainFileID, 2, 1); in TEST_F() 110 SourceLocation macroExpEndLoc = SourceMgr.translateLineCol(mainFileID, 2, 6); in TEST_F() 226 SourceLocation defLoc = SourceMgr.translateLineCol(mainFileID, 2, 13); in TEST_F() 227 SourceLocation loc1 = SourceMgr.translateLineCol(mainFileID, 3, 8); in TEST_F() 228 SourceLocation loc2 = SourceMgr.translateLineCol(mainFileID, 4, 4); in TEST_F() 229 SourceLocation loc3 = SourceMgr.translateLineCol(mainFileID, 5, 7); in TEST_F() 230 SourceLocation defLoc2 = SourceMgr.translateLineCol(mainFileID, 6, 22); in TEST_F()
|
/external/llvm-project/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 92 SourceLocation macroExpStartLoc = SourceMgr.translateLineCol(mainFileID, 2, 1); in TEST_F() 93 SourceLocation macroExpEndLoc = SourceMgr.translateLineCol(mainFileID, 2, 6); in TEST_F() 185 auto BeginEOLLoc = SourceMgr.translateLineCol(MainFileID, 1, 7); in TEST_F() 326 SourceLocation defLoc = SourceMgr.translateLineCol(mainFileID, 2, 13); in TEST_F() 327 SourceLocation loc1 = SourceMgr.translateLineCol(mainFileID, 3, 8); in TEST_F() 328 SourceLocation loc2 = SourceMgr.translateLineCol(mainFileID, 4, 4); in TEST_F() 329 SourceLocation loc3 = SourceMgr.translateLineCol(mainFileID, 5, 7); in TEST_F() 330 SourceLocation defLoc2 = SourceMgr.translateLineCol(mainFileID, 6, 22); in TEST_F()
|
/external/llvm-project/clang/unittests/Frontend/ |
D | TextDiagnosticTest.cpp | 66 FullSourceLoc Loc(SrcMgr.translateLineCol(fid, /*Line=*/1, /*Col=*/2), in TEST()
|
/external/clang/tools/clang-format/ |
D | ClangFormat.cpp | 157 SourceLocation Start = Sources.translateLineCol(ID, FromLine, 1); in fillRanges() 158 SourceLocation End = Sources.translateLineCol(ID, ToLine, UINT_MAX); in fillRanges()
|
/external/llvm-project/clang/lib/Analysis/ |
D | IssueHash.cpp | 148 SM.translateLineCol(SM.getFileID(L), L.getExpansionLineNumber(), col); in NormalizeLine()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | IssueHash.cpp | 141 SM.translateLineCol(SM.getFileID(L), L.getExpansionLineNumber(), col); in NormalizeLine()
|
/external/llvm-project/clang/lib/Frontend/ |
D | VerifyDiagnosticConsumer.cpp | 521 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective() 526 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective() 563 ExpectedLoc = SM.translateLineCol(FID, Line, 1); in ParseDirective() 566 ExpectedLoc = SM.translateLineCol(FID, 1, 1); in ParseDirective()
|
D | TextDiagnostic.cpp | 1193 SM.getDecomposedLoc(SM.translateLineCol(FID, LineNo, 1)).second; in emitSnippetAndCaret()
|
/external/llvm-project/clang/tools/clang-format/ |
D | ClangFormat.cpp | 222 SourceLocation Start = Sources.translateLineCol(ID, FromLine, 1); in fillRanges() 223 SourceLocation End = Sources.translateLineCol(ID, ToLine, UINT_MAX); in fillRanges()
|
/external/llvm-project/clang/tools/clang-refactor/ |
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()
|
/external/clang/lib/Frontend/ |
D | VerifyDiagnosticConsumer.cpp | 387 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); in ParseDirective() 392 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); in ParseDirective()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | Preamble.cpp | 542 Loc = SM.translateLineCol(SM.getMainFileID(), Presumed.getLine(), in translatePreamblePatchLocation()
|
D | XRefs.cpp | 597 SourceLocation LocMin = SM.translateLineCol(File, LineMin, 1); in findNearbyIdentifier() 599 SourceLocation LocMax = SM.translateLineCol(File, LineMax, 1); in findNearbyIdentifier()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 1600 return translateLineCol(FirstFID, Line, Col); in translateFileLineCol() 1722 SourceLocation SourceManager::translateLineCol(FileID FID, in translateLineCol() function in SourceManager
|
/external/llvm-project/clang/lib/Basic/ |
D | SourceManager.cpp | 1594 return translateLineCol(FirstFID, Line, Col); in translateFileLineCol() 1640 SourceLocation SourceManager::translateLineCol(FileID FID, in translateLineCol() function in SourceManager
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 1451 SourceLocation translateLineCol(FileID FID,
|
/external/llvm-project/clang/include/clang/Basic/ |
D | SourceManager.h | 1588 SourceLocation translateLineCol(FileID FID,
|
/external/llvm-project/clang/unittests/Tooling/ |
D | ASTSelectionTest.cpp | 22 return SM.translateLineCol(SM.getMainFileID(), Line, Column); in translate()
|