Searched refs:isStringLiteral (Results 1 – 13 of 13) sorted by relevance
79 inline bool isStringLiteral(TokenKind K) { in isStringLiteral() function91 isStringLiteral(K) || K == tok::angle_string_literal; in isLiteral()
630 if (NextNonComment->isStringLiteral() && State.StartOfStringLiteral != 0) in getNewLineColumn()796 if (Current.isStringLiteral() && State.StartOfStringLiteral == 0) in moveStateToNextToken()801 !Current.isStringLiteral()) in moveStateToNextToken()1081 if (!Current.isStringLiteral() && !Current.is(tok::comment)) in breakProtrudingToken()1088 if (Current.isStringLiteral()) { in breakProtrudingToken()1222 Penalty += Current.isStringLiteral() ? Style.PenaltyBreakString in breakProtrudingToken()1237 if (!Current.isStringLiteral() || Current.is(TT_ImplicitStringLiteral)) in nextIsMultilineString()1247 Current.getNextNonComment()->isStringLiteral()) in nextIsMultilineString()
335 if (Current->isStringLiteral() && !Reference.IsExport) { in parseModuleReference()350 if (!Current->isStringLiteral()) in parseModuleReference()
314 bool isStringLiteral() const { return tok::isStringLiteral(Tok.getKind()); } in isStringLiteral() function
816 CurrentToken->Next->isStringLiteral()) in parseLine()1047 if (Current.Next->isStringLiteral()) { in determineTokenType()2313 if (Left.isStringLiteral() && in mustBreakBefore()2314 (Right.isStringLiteral() || Right.is(TT_ObjCStringLiteral))) in mustBreakBefore()
24 return Line.startsWith(tok::kw_extern) && Next && Next->isStringLiteral() && in startsExternCBlock()
1961 !FormatTok->isStringLiteral()) in parseJavaScriptEs6ImportExport()
843 if (FormatTok->Finalized || !FormatTok->isStringLiteral() || in requoteJSStringLiteral()
217 if (tok::isStringLiteral(Tok.getKind()) || // "foo", u8R"x(foo)x"_bar, etc. in StringifyArgument()
192 if (!tok::isStringLiteral(Tok.getKind())) { in Handle_Pragma()
238 if (tok::isStringLiteral(Tok.getKind())) { in getSpellingSlow()
1063 if (!isStringLiteral(Result.getKind())) in VisitObjCMessageExpr()
341 return tok::isStringLiteral(Tok.getKind()); in isTokenStringLiteral()