Home
last modified time | relevance | path

Searched refs:translateLineCol (Results 1 – 18 of 18) sorted by relevance

/external/clang/unittests/Basic/
DSourceManagerTest.cpp109 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/
DSourceManagerTest.cpp92 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/
DTextDiagnosticTest.cpp66 FullSourceLoc Loc(SrcMgr.translateLineCol(fid, /*Line=*/1, /*Col=*/2), in TEST()
/external/clang/tools/clang-format/
DClangFormat.cpp157 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/
DIssueHash.cpp148 SM.translateLineCol(SM.getFileID(L), L.getExpansionLineNumber(), col); in NormalizeLine()
/external/clang/lib/StaticAnalyzer/Core/
DIssueHash.cpp141 SM.translateLineCol(SM.getFileID(L), L.getExpansionLineNumber(), col); in NormalizeLine()
/external/llvm-project/clang/lib/Frontend/
DVerifyDiagnosticConsumer.cpp521 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()
DTextDiagnostic.cpp1193 SM.getDecomposedLoc(SM.translateLineCol(FID, LineNo, 1)).second; in emitSnippetAndCaret()
/external/llvm-project/clang/tools/clang-format/
DClangFormat.cpp222 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/
DClangRefactor.cpp128 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/
DVerifyDiagnosticConsumer.cpp387 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/
DPreamble.cpp542 Loc = SM.translateLineCol(SM.getMainFileID(), Presumed.getLine(), in translatePreamblePatchLocation()
DXRefs.cpp597 SourceLocation LocMin = SM.translateLineCol(File, LineMin, 1); in findNearbyIdentifier()
599 SourceLocation LocMax = SM.translateLineCol(File, LineMax, 1); in findNearbyIdentifier()
/external/clang/lib/Basic/
DSourceManager.cpp1600 return translateLineCol(FirstFID, Line, Col); in translateFileLineCol()
1722 SourceLocation SourceManager::translateLineCol(FileID FID, in translateLineCol() function in SourceManager
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp1594 return translateLineCol(FirstFID, Line, Col); in translateFileLineCol()
1640 SourceLocation SourceManager::translateLineCol(FileID FID, in translateLineCol() function in SourceManager
/external/clang/include/clang/Basic/
DSourceManager.h1451 SourceLocation translateLineCol(FileID FID,
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h1588 SourceLocation translateLineCol(FileID FID,
/external/llvm-project/clang/unittests/Tooling/
DASTSelectionTest.cpp22 return SM.translateLineCol(SM.getMainFileID(), Line, Column); in translate()