Lines Matching refs:MainFileID
114 FileID MainFileID = SourceMgr.createFileID(std::move(Buf)); in TEST_F() local
115 SourceMgr.setMainFileID(MainFileID); in TEST_F()
120 EXPECT_EQ(1U, SourceMgr.getColumnNumber(MainFileID, 0, &Invalid)); in TEST_F()
124 EXPECT_EQ(5U, SourceMgr.getColumnNumber(MainFileID, 4, &Invalid)); in TEST_F()
128 EXPECT_EQ(1U, SourceMgr.getColumnNumber(MainFileID, 7, &Invalid)); in TEST_F()
132 EXPECT_EQ(5U, SourceMgr.getColumnNumber(MainFileID, 11, &Invalid)); in TEST_F()
136 EXPECT_EQ(7U, SourceMgr.getColumnNumber(MainFileID, strlen(Source), in TEST_F()
141 SourceMgr.getColumnNumber(MainFileID, strlen(Source)+1, &Invalid); in TEST_F()
154 EXPECT_EQ(1U, SourceMgr.getColumnNumber(MainFileID, 0, nullptr)); in TEST_F()
178 FileID MainFileID = SourceMgr.getOrCreateFileID(SourceFile, SrcMgr::C_User); in TEST_F() local
180 SourceMgr.setMainFileID(MainFileID); in TEST_F()
182 auto BeginLoc = SourceMgr.getLocForStartOfFile(MainFileID); in TEST_F()
183 auto EndLoc = SourceMgr.getLocForEndOfFile(MainFileID); in TEST_F()
185 auto BeginEOLLoc = SourceMgr.translateLineCol(MainFileID, 1, 7); in TEST_F()
509 FileID MainFileID = SourceMgr.getOrCreateFileID(SourceFile, SrcMgr::C_User); in TEST_F() local
510 SourceMgr.setMainFileID(MainFileID); in TEST_F()