HomeSort by relevance Sort by last modified time
    Searched refs:ExpectedTok (Results 1 - 2 of 2) sorted by null

  /external/clang/lib/Parse/
Parser.cpp 103 static bool IsCommonTypo(tok::TokenKind ExpectedTok, const Token &Tok) {
104 switch (ExpectedTok) {
111 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID,
113 if (Tok.is(ExpectedTok) || Tok.is(tok::code_completion)) {
119 if (IsCommonTypo(ExpectedTok, Tok)) {
124 SourceRange(Loc), tok::getPunctuatorSpelling(ExpectedTok));
126 DB << ExpectedTok;
128 DB << Msg << ExpectedTok;
141 Spelling = tok::getPunctuatorSpelling(ExpectedTok);
148 DB << ExpectedTok;
    [all...]
  /external/clang/include/clang/Parse/
Parser.h 717 /// ExpectAndConsume - The parser expects that 'ExpectedTok' is next in the
725 bool ExpectAndConsume(tok::TokenKind ExpectedTok,
    [all...]

Completed in 84 milliseconds