Searched defs:ExpectedTok (Results 1 - 1 of 1) sorted by relevance

/external/clang/lib/Parse/
H A DParser.cpp137 static bool IsCommonTypo(tok::TokenKind ExpectedTok, const Token &Tok) { argument
138 switch (ExpectedTok) {
144 /// ExpectAndConsume - The parser expects that 'ExpectedTok' is next in the
150 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID, argument
152 if (Tok.is(ExpectedTok) || Tok.is(tok::code_completion)) {
158 if (IsCommonTypo(ExpectedTok, Tok)) {
163 getTokenSimpleSpelling(ExpectedTok));
173 (Spelling = tok::getTokenSimpleSpelling(ExpectedTok))) {

Completed in 46 milliseconds