Searched refs:isStringLiteral (Results 1 – 8 of 8) sorted by relevance
79 inline bool isStringLiteral(TokenKind K) { in isStringLiteral() function91 isStringLiteral(K) || K == tok::angle_string_literal; in isLiteral()
543 if (NextNonComment->isStringLiteral() && State.StartOfStringLiteral != 0) in getNewLineColumn()685 if (Current.isStringLiteral() && State.StartOfStringLiteral == 0) { in moveStateToNextToken()688 !Current.isStringLiteral()) { in moveStateToNextToken()927 if (!Current.isStringLiteral() && !Current.is(tok::comment)) in breakProtrudingToken()934 if (Current.isStringLiteral()) { in breakProtrudingToken()1065 Penalty += Current.isStringLiteral() ? Style.PenaltyBreakString in breakProtrudingToken()1080 if (!Current.isStringLiteral() || Current.is(TT_ImplicitStringLiteral)) in nextIsMultilineString()1090 Current.getNextNonComment()->isStringLiteral()) in nextIsMultilineString()
290 bool isStringLiteral() const { return tok::isStringLiteral(Tok.getKind()); } in isStringLiteral() function
24 return Line.First->is(tok::kw_extern) && Next && Next->isStringLiteral() && in startsExternCBlock()
1919 (Right.isStringLiteral() && Right.Previous->isStringLiteral())) in mustBreakBefore()
218 if (tok::isStringLiteral(Tok.getKind()) || // "foo", u8R"x(foo)x"_bar, etc. in StringifyArgument()
191 if (!tok::isStringLiteral(Tok.getKind())) { in Handle_Pragma()
325 return tok::isStringLiteral(Tok.getKind()); in isTokenStringLiteral()