Searched refs:FirstTok (Results 1 – 3 of 3) sorted by relevance
359 const FormatToken *FirstTok = TheLine.First; in format() local360 int Offset = getIndentOffset(*FirstTok); in format()394 FixBadIndentation && (LevelIndent != FirstTok->OriginalColumn); in format()398 unsigned Newlines = std::min(FirstTok->NewlinesBefore, 1u); in format()405 if (FirstTok->WhitespaceRange.isValid()) { in format()410 Indent = LevelIndent = FirstTok->OriginalColumn; in format()
410 static bool isWideStringLiteralFromMacro(const Token &FirstTok, in isWideStringLiteralFromMacro() argument412 return FirstTok.is(tok::identifier) && in isWideStringLiteralFromMacro()413 FirstTok.getIdentifierInfo()->isStr("L") && SecondTok.isLiteral() && in isWideStringLiteralFromMacro()
1095 static void ParseAlignPragma(Preprocessor &PP, Token &FirstTok, in ParseAlignPragma() argument1156 Toks[0].setLocation(FirstTok.getLocation()); in ParseAlignPragma()1457 Token &FirstTok) { in HandlePragma() argument1459 FirstTok.getLocation())) { in HandlePragma()1460 PP.Diag(FirstTok, diag::warn_pragma_omp_ignored); in HandlePragma()1472 Token &FirstTok) { in HandlePragma() argument1477 Tok.setLocation(FirstTok.getLocation()); in HandlePragma()