HomeSort by: relevance | last modified time | path
    Searched refs:PrevTok (Results 1 - 8 of 8) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/include/clang/Lex/
TokenConcatenation.h 61 const Token &PrevTok,
  /src/external/apache2/llvm/dist/clang/lib/Lex/
TokenConcatenation.cpp 149 /// AvoidConcat - If printing PrevTok immediately followed by Tok would cause
161 const Token &PrevTok,
165 if (PrevTok.isAnnotation())
172 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation());
174 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc)
177 tok::TokenKind PrevKind = PrevTok.getKind();
178 if (!PrevTok.isAnnotation() && PrevTok.getIdentifierInfo())
181 // Look up information on when we should avoid concatenation with prevtok.
184 // If prevtok never causes a problem for anything after it, return quickly
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Rewrite/
HTMLRewrite.cpp 625 Token PrevTok = Tok;
645 ConcatInfo.AvoidConcat(PrevPrevTok, PrevTok, Tok))
652 PrevPrevTok = PrevTok;
653 PrevTok = Tok;
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
PrintPreprocessedOutput.cpp 164 bool AvoidConcat(const Token &PrevPrevTok, const Token &PrevTok,
166 return ConcatInfo.AvoidConcat(PrevPrevTok, PrevTok, Tok);
719 Token PrevPrevTok, PrevTok;
721 PrevTok.startToken();
732 // If we haven't emitted a token on this line yet, PrevTok isn't
736 Callbacks->AvoidConcat(PrevPrevTok, PrevTok, Tok))) {
814 PrevPrevTok = PrevTok;
815 PrevTok = Tok;
  /src/external/apache2/llvm/dist/clang/lib/Format/
UnwrappedLineParser.cpp 447 const FormatToken *PrevTok = Tok->Previous;
464 if (Style.Language == FormatStyle::LK_JavaScript && PrevTok) {
465 if (PrevTok->isOneOf(tok::colon, tok::less))
476 else if (PrevTok->is(tok::r_paren))
514 !PrevTok->isOneOf(tok::semi, tok::r_brace, tok::l_brace)) ||
554 PrevTok = Tok;
  /src/external/apache2/llvm/dist/clang/lib/AST/
CommentParser.cpp 374 Token PrevTok = Tok;
377 putBack(PrevTok);
  /src/external/apache2/llvm/dist/clang/include/clang/Parse/
Parser.h 941 Token PrevTok;
949 PrevTok = P.Tok;
969 P.Tok = PrevTok;
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseOpenMP.cpp 2625 Token PrevTok = Tok;
2645 Diag(PrevTok.getLocation(), diag::err_expected)
2647 << SourceRange(PrevTok.getLocation(), PrevTokLocation);

Completed in 22 milliseconds