Home
last modified time | relevance | path

Searched refs:mainFileID (Results 1 – 5 of 5) sorted by relevance

/external/clang/unittests/Basic/
DSourceManagerTest.cpp77 FileID mainFileID = SourceMgr.createFileID(std::move(Buf)); in TEST_F() local
78 SourceMgr.setMainFileID(mainFileID); in TEST_F()
109 SourceLocation macroExpStartLoc = SourceMgr.translateLineCol(mainFileID, 2, 1); in TEST_F()
110 SourceLocation macroExpEndLoc = SourceMgr.translateLineCol(mainFileID, 2, 6); in TEST_F()
193 FileID mainFileID = SourceMgr.createFileID(std::move(MainBuf)); in TEST_F() local
194 SourceMgr.setMainFileID(mainFileID); 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()
[all …]
/external/llvm-project/clang/unittests/Basic/
DSourceManagerTest.cpp60 FileID mainFileID = SourceMgr.createFileID(std::move(Buf)); in TEST_F() local
61 SourceMgr.setMainFileID(mainFileID); in TEST_F()
92 SourceLocation macroExpStartLoc = SourceMgr.translateLineCol(mainFileID, 2, 1); in TEST_F()
93 SourceLocation macroExpEndLoc = SourceMgr.translateLineCol(mainFileID, 2, 6); in TEST_F()
262 FileID mainFileID = SourceMgr.createFileID(std::move(Buf)); in TEST_F() local
263 SourceMgr.setMainFileID(mainFileID); in TEST_F()
265 ASSERT_NO_FATAL_FAILURE(SourceMgr.getLineNumber(mainFileID, 1, nullptr)); in TEST_F()
287 FileID mainFileID = SourceMgr.createFileID(std::move(MainBuf)); in TEST_F() local
288 SourceMgr.setMainFileID(mainFileID); in TEST_F()
326 SourceLocation defLoc = SourceMgr.translateLineCol(mainFileID, 2, 13); in TEST_F()
[all …]
/external/clang/lib/StaticAnalyzer/Frontend/
DModelInjector.cpp48 FileID mainFileID = SM.getMainFileID(); in onBodySynthesis() local
116 SM.setMainFileID(mainFileID); in onBodySynthesis()
/external/llvm-project/clang/lib/StaticAnalyzer/Frontend/
DModelInjector.cpp49 FileID mainFileID = SM.getMainFileID(); in onBodySynthesis() local
113 SM.setMainFileID(mainFileID); in onBodySynthesis()
/external/llvm-project/mlir/lib/Parser/
DLexer.cpp43 unsigned mainFileID = sourceMgr.getMainFileID(); in getEncodedSourceLocation() local
44 auto lineAndColumn = sourceMgr.getLineAndColumn(loc, mainFileID); in getEncodedSourceLocation()
45 auto *buffer = sourceMgr.getMemoryBuffer(mainFileID); in getEncodedSourceLocation()