Lines Matching refs:tok
77 Token tok; in Lex() local
78 PP.Lex(tok); in Lex()
79 if (tok.is(tok::eof)) in Lex()
81 toks.push_back(tok); in Lex()
88 ArrayRef<tok::TokenKind> ExpectedTokens) { in CheckLex()
120 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F()
121 ExpectedTokens.push_back(tok::identifier); in TEST_F()
122 ExpectedTokens.push_back(tok::l_paren); in TEST_F()
123 ExpectedTokens.push_back(tok::identifier); in TEST_F()
124 ExpectedTokens.push_back(tok::r_paren); in TEST_F()
134 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F()
135 ExpectedTokens.push_back(tok::identifier); in TEST_F()
136 ExpectedTokens.push_back(tok::identifier); in TEST_F()
146 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F()
147 ExpectedTokens.push_back(tok::identifier); in TEST_F()
148 ExpectedTokens.push_back(tok::identifier); in TEST_F()
149 ExpectedTokens.push_back(tok::identifier); in TEST_F()
159 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F()
160 ExpectedTokens.push_back(tok::identifier); in TEST_F()
161 ExpectedTokens.push_back(tok::identifier); in TEST_F()
162 ExpectedTokens.push_back(tok::identifier); in TEST_F()
172 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F()
173 ExpectedTokens.push_back(tok::identifier); in TEST_F()
174 ExpectedTokens.push_back(tok::identifier); in TEST_F()
175 ExpectedTokens.push_back(tok::identifier); in TEST_F()
176 ExpectedTokens.push_back(tok::identifier); in TEST_F()
186 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F()
187 ExpectedTokens.push_back(tok::identifier); in TEST_F()
188 ExpectedTokens.push_back(tok::l_paren); in TEST_F()
189 ExpectedTokens.push_back(tok::identifier); in TEST_F()
190 ExpectedTokens.push_back(tok::r_paren); in TEST_F()
201 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F()
202 ExpectedTokens.push_back(tok::identifier); in TEST_F()
203 ExpectedTokens.push_back(tok::l_paren); in TEST_F()
204 ExpectedTokens.push_back(tok::identifier); in TEST_F()
205 ExpectedTokens.push_back(tok::r_paren); in TEST_F()
214 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F()
215 ExpectedTokens.push_back(tok::identifier); in TEST_F()
216 ExpectedTokens.push_back(tok::l_paren); in TEST_F()
217 ExpectedTokens.push_back(tok::identifier); in TEST_F()
218 ExpectedTokens.push_back(tok::r_paren); in TEST_F()
227 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F()
228 ExpectedTokens.push_back(tok::identifier); in TEST_F()
229 ExpectedTokens.push_back(tok::l_paren); in TEST_F()
230 ExpectedTokens.push_back(tok::identifier); in TEST_F()
231 ExpectedTokens.push_back(tok::r_paren); in TEST_F()
241 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F()
242 ExpectedTokens.push_back(tok::identifier); in TEST_F()
243 ExpectedTokens.push_back(tok::l_paren); in TEST_F()
244 ExpectedTokens.push_back(tok::identifier); in TEST_F()
245 ExpectedTokens.push_back(tok::identifier); in TEST_F()
246 ExpectedTokens.push_back(tok::r_paren); in TEST_F()
256 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F()
257 ExpectedTokens.push_back(tok::identifier); in TEST_F()
258 ExpectedTokens.push_back(tok::identifier); in TEST_F()
259 ExpectedTokens.push_back(tok::l_paren); in TEST_F()
260 ExpectedTokens.push_back(tok::identifier); in TEST_F()
261 ExpectedTokens.push_back(tok::r_paren); in TEST_F()
271 std::vector<tok::TokenKind> ExpectedTokens; in TEST_F()
272 ExpectedTokens.push_back(tok::l_square); in TEST_F()
273 ExpectedTokens.push_back(tok::identifier); in TEST_F()
274 ExpectedTokens.push_back(tok::r_square); in TEST_F()
275 ExpectedTokens.push_back(tok::l_square); in TEST_F()
276 ExpectedTokens.push_back(tok::identifier); in TEST_F()
277 ExpectedTokens.push_back(tok::r_square); in TEST_F()
278 ExpectedTokens.push_back(tok::identifier); in TEST_F()
279 ExpectedTokens.push_back(tok::identifier); in TEST_F()
280 ExpectedTokens.push_back(tok::identifier); in TEST_F()
281 ExpectedTokens.push_back(tok::identifier); in TEST_F()