Searched refs:ExpectedTok (Results 1 – 2 of 2) sorted by relevance
135 static bool IsCommonTypo(tok::TokenKind ExpectedTok, const Token &Tok) { in IsCommonTypo() argument136 switch (ExpectedTok) { in IsCommonTypo()149 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID, in ExpectAndConsume() argument151 if (Tok.is(ExpectedTok) || Tok.is(tok::code_completion)) { in ExpectAndConsume()157 if (IsCommonTypo(ExpectedTok, Tok)) { in ExpectAndConsume()162 getTokenSimpleSpelling(ExpectedTok)); in ExpectAndConsume()172 (Spelling = tok::getTokenSimpleSpelling(ExpectedTok))) { in ExpectAndConsume()
609 bool ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned Diag,