Lines Matching full:invalid
127 bool Invalid;
129 Invalid = false;
130 EXPECT_EQ(1U, SourceMgr.getColumnNumber(MainFileID, 0, &Invalid));
131 EXPECT_TRUE(!Invalid);
133 Invalid = false;
134 EXPECT_EQ(5U, SourceMgr.getColumnNumber(MainFileID, 4, &Invalid));
135 EXPECT_TRUE(!Invalid);
137 Invalid = false;
138 EXPECT_EQ(1U, SourceMgr.getColumnNumber(MainFileID, 7, &Invalid));
139 EXPECT_TRUE(!Invalid);
141 Invalid = false;
142 EXPECT_EQ(5U, SourceMgr.getColumnNumber(MainFileID, 11, &Invalid));
143 EXPECT_TRUE(!Invalid);
145 Invalid = false;
147 &Invalid));
148 EXPECT_TRUE(!Invalid);
150 Invalid = false;
151 SourceMgr.getColumnNumber(MainFileID, strlen(Source)+1, &Invalid);
152 EXPECT_TRUE(Invalid);
154 // Test invalid files
155 Invalid = false;
156 SourceMgr.getColumnNumber(FileID(), 0, &Invalid);
157 EXPECT_TRUE(Invalid);
159 Invalid = false;
160 SourceMgr.getColumnNumber(FileID(), 1, &Invalid);
161 EXPECT_TRUE(Invalid);
163 // Test with no invalid flag.