Lines Matching defs:MainFileID
72 FileID mainFileID = SourceMgr.createMainFileIDForMemBuffer(buf);
103 SourceLocation macroExpStartLoc = SourceMgr.translateLineCol(mainFileID, 2, 1);
104 SourceLocation macroExpEndLoc = SourceMgr.translateLineCol(mainFileID, 2, 6);
124 FileID MainFileID = SourceMgr.createMainFileIDForMemBuffer(Buf);
129 EXPECT_EQ(1U, SourceMgr.getColumnNumber(MainFileID, 0, &Invalid));
133 EXPECT_EQ(5U, SourceMgr.getColumnNumber(MainFileID, 4, &Invalid));
137 EXPECT_EQ(1U, SourceMgr.getColumnNumber(MainFileID, 7, &Invalid));
141 EXPECT_EQ(5U, SourceMgr.getColumnNumber(MainFileID, 11, &Invalid));
145 EXPECT_EQ(7U, SourceMgr.getColumnNumber(MainFileID, strlen(Source),
150 SourceMgr.getColumnNumber(MainFileID, strlen(Source)+1, &Invalid);
163 EXPECT_EQ(1U, SourceMgr.getColumnNumber(MainFileID, 0, NULL));
183 FileID mainFileID = SourceMgr.createMainFileIDForMemBuffer(mainBuf);
215 SourceLocation defLoc = SourceMgr.translateLineCol(mainFileID, 2, 13);
216 SourceLocation loc1 = SourceMgr.translateLineCol(mainFileID, 3, 8);
217 SourceLocation loc2 = SourceMgr.translateLineCol(mainFileID, 4, 4);
218 SourceLocation loc3 = SourceMgr.translateLineCol(mainFileID, 5, 7);
219 SourceLocation defLoc2 = SourceMgr.translateLineCol(mainFileID, 6, 22);