Home
last modified time | relevance | path

Searched refs:mainFileID (Results 1 – 2 of 2) 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/clang/lib/StaticAnalyzer/Frontend/
DModelInjector.cpp48 FileID mainFileID = SM.getMainFileID(); in onBodySynthesis() local
116 SM.setMainFileID(mainFileID); in onBodySynthesis()