Lines Matching refs:getColumnNumber
124 TEST_F(SourceManagerTest, getColumnNumber) {
136 EXPECT_EQ(1U, SourceMgr.getColumnNumber(MainFileID, 0, &Invalid));
140 EXPECT_EQ(5U, SourceMgr.getColumnNumber(MainFileID, 4, &Invalid));
144 EXPECT_EQ(1U, SourceMgr.getColumnNumber(MainFileID, 7, &Invalid));
148 EXPECT_EQ(5U, SourceMgr.getColumnNumber(MainFileID, 11, &Invalid));
152 EXPECT_EQ(7U, SourceMgr.getColumnNumber(MainFileID, strlen(Source),
157 SourceMgr.getColumnNumber(MainFileID, strlen(Source)+1, &Invalid);
162 SourceMgr.getColumnNumber(FileID(), 0, &Invalid);
166 SourceMgr.getColumnNumber(FileID(), 1, &Invalid);
170 EXPECT_EQ(1U, SourceMgr.getColumnNumber(MainFileID, 0, nullptr));