Lines Matching defs:MainFileID
73 FileID mainFileID = SourceMgr.createMainFileIDForMemBuffer(buf);
104 SourceLocation macroExpStartLoc = SourceMgr.translateLineCol(mainFileID, 2, 1);
105 SourceLocation macroExpEndLoc = SourceMgr.translateLineCol(mainFileID, 2, 6);
125 FileID MainFileID = SourceMgr.createMainFileIDForMemBuffer(Buf);
130 EXPECT_EQ(1U, SourceMgr.getColumnNumber(MainFileID, 0, &Invalid));
134 EXPECT_EQ(5U, SourceMgr.getColumnNumber(MainFileID, 4, &Invalid));
138 EXPECT_EQ(1U, SourceMgr.getColumnNumber(MainFileID, 7, &Invalid));
142 EXPECT_EQ(5U, SourceMgr.getColumnNumber(MainFileID, 11, &Invalid));
146 EXPECT_EQ(7U, SourceMgr.getColumnNumber(MainFileID, strlen(Source),
151 SourceMgr.getColumnNumber(MainFileID, strlen(Source)+1, &Invalid);
164 EXPECT_EQ(1U, SourceMgr.getColumnNumber(MainFileID, 0, NULL));
184 FileID mainFileID = SourceMgr.createMainFileIDForMemBuffer(mainBuf);
216 SourceLocation defLoc = SourceMgr.translateLineCol(mainFileID, 2, 13);
217 SourceLocation loc1 = SourceMgr.translateLineCol(mainFileID, 3, 8);
218 SourceLocation loc2 = SourceMgr.translateLineCol(mainFileID, 4, 4);
219 SourceLocation loc3 = SourceMgr.translateLineCol(mainFileID, 5, 7);
220 SourceLocation defLoc2 = SourceMgr.translateLineCol(mainFileID, 6, 22);