Home
last modified time | relevance | path

Searched refs:isStringLiteral (Results 1 – 13 of 13) 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.cpp630 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()
DSortJavaScriptImports.cpp335 if (Current->isStringLiteral() && !Reference.IsExport) { in parseModuleReference()
350 if (!Current->isStringLiteral()) in parseModuleReference()
DFormatToken.h314 bool isStringLiteral() const { return tok::isStringLiteral(Tok.getKind()); } in isStringLiteral() function
DTokenAnnotator.cpp816 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()
DUnwrappedLineFormatter.cpp24 return Line.startsWith(tok::kw_extern) && Next && Next->isStringLiteral() && in startsExternCBlock()
DUnwrappedLineParser.cpp1961 !FormatTok->isStringLiteral()) in parseJavaScriptEs6ImportExport()
DFormat.cpp843 if (FormatTok->Finalized || !FormatTok->isStringLiteral() || in requoteJSStringLiteral()
/external/clang/lib/Lex/
DMacroArgs.cpp217 if (tok::isStringLiteral(Tok.getKind()) || // "foo", u8R"x(foo)x"_bar, etc. in StringifyArgument()
DPragma.cpp192 if (!tok::isStringLiteral(Tok.getKind())) { in Handle_Pragma()
DLexer.cpp238 if (tok::isStringLiteral(Tok.getKind())) { in getSpellingSlow()
/external/clang/lib/StaticAnalyzer/Checkers/
DLocalizationChecker.cpp1063 if (!isStringLiteral(Result.getKind())) in VisitObjCMessageExpr()
/external/clang/include/clang/Parse/
DParser.h341 return tok::isStringLiteral(Tok.getKind()); in isTokenStringLiteral()