Home
last modified time | relevance | path

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

/external/clang/include/clang/Basic/
DTokenKinds.h79 inline bool isStringLiteral(TokenKind K) { in isStringLiteral() function
91 isStringLiteral(K) || K == tok::angle_string_literal; in isLiteral()
/external/clang/lib/Format/
DContinuationIndenter.cpp543 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()
DFormatToken.h290 bool isStringLiteral() const { return tok::isStringLiteral(Tok.getKind()); } in isStringLiteral() function
DUnwrappedLineFormatter.cpp24 return Line.First->is(tok::kw_extern) && Next && Next->isStringLiteral() && in startsExternCBlock()
DTokenAnnotator.cpp1919 (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.cpp191 if (!tok::isStringLiteral(Tok.getKind())) { in Handle_Pragma()
/external/clang/include/clang/Parse/
DParser.h325 return tok::isStringLiteral(Tok.getKind()); in isTokenStringLiteral()