Home
last modified time | relevance | path

Searched refs:isStringLiteral (Results 1 – 7 of 7) sorted by relevance

/external/clang/include/clang/Basic/
DTokenKinds.h79 inline bool isStringLiteral(TokenKind K) { in isStringLiteral() function
90 K == tok::utf32_char_constant || isStringLiteral(K) || in isLiteral()
/external/clang/lib/Format/
DContinuationIndenter.cpp502 if (NextNonComment->isStringLiteral() && State.StartOfStringLiteral != 0) in getNewLineColumn()
649 if (Current.isStringLiteral() && State.StartOfStringLiteral == 0) { in moveStateToNextToken()
652 !Current.isStringLiteral()) { in moveStateToNextToken()
947 if (!Current.isStringLiteral() && !Current.is(tok::comment)) in breakProtrudingToken()
954 if (Current.isStringLiteral()) { in breakProtrudingToken()
1080 Penalty += Current.isStringLiteral() ? Style.PenaltyBreakString in breakProtrudingToken()
1095 if (!Current.isStringLiteral() || Current.Type == TT_ImplicitStringLiteral) in nextIsMultilineString()
1105 Current.getNextNonComment()->isStringLiteral()) in nextIsMultilineString()
DFormatToken.h293 bool isStringLiteral() const { return tok::isStringLiteral(Tok.getKind()); } in isStringLiteral() function
DTokenAnnotator.cpp1653 (Right.isStringLiteral() && Right.Previous->isStringLiteral())) { in mustBreakBefore()
/external/clang/lib/Lex/
DMacroArgs.cpp218 if (tok::isStringLiteral(Tok.getKind()) || // "foo", u8R"x(foo)x"_bar, etc. in StringifyArgument()
DPragma.cpp193 if (!tok::isStringLiteral(Tok.getKind())) { in Handle_Pragma()
/external/clang/include/clang/Parse/
DParser.h340 return tok::isStringLiteral(Tok.getKind()); in isTokenStringLiteral()