Home
last modified time | relevance | path

Searched refs:FirstTok (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/Format/
DUnwrappedLineFormatter.cpp359 const FormatToken *FirstTok = TheLine.First; in format() local
360 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()
/external/clang/lib/Lex/
DTokenLexer.cpp410 static bool isWideStringLiteralFromMacro(const Token &FirstTok, in isWideStringLiteralFromMacro() argument
412 return FirstTok.is(tok::identifier) && in isWideStringLiteralFromMacro()
413 FirstTok.getIdentifierInfo()->isStr("L") && SecondTok.isLiteral() && in isWideStringLiteralFromMacro()
/external/clang/lib/Parse/
DParsePragma.cpp1095 static void ParseAlignPragma(Preprocessor &PP, Token &FirstTok, in ParseAlignPragma() argument
1156 Toks[0].setLocation(FirstTok.getLocation()); in ParseAlignPragma()
1457 Token &FirstTok) { in HandlePragma() argument
1459 FirstTok.getLocation())) { in HandlePragma()
1460 PP.Diag(FirstTok, diag::warn_pragma_omp_ignored); in HandlePragma()
1472 Token &FirstTok) { in HandlePragma() argument
1477 Tok.setLocation(FirstTok.getLocation()); in HandlePragma()