Home
last modified time | relevance | path

Searched refs:getLiteralData (Results 1 – 25 of 27) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DBadSignalToKillThreadCheck.cpp42 if (!T.isLiteral() || !T.getLiteralData()) in check()
44 StringRef ValueStr = StringRef(T.getLiteralData(), T.getLength()); in check()
DNotNullTerminatedResultCheck.cpp808 if (T.isLiteral() && T.getLiteralData()) { in check()
809 StringRef ValueStr = StringRef(T.getLiteralData(), T.getLength()); in check()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp133 if (!T.isLiteral() || !T.getLiteralData()) in tryExpandAsInteger()
135 StringRef ValueStr = StringRef(T.getLiteralData(), T.getLength()); in tryExpandAsInteger()
/external/clang/lib/Lex/
DMacroInfo.cpp167 else if (Tok.isLiteral() && Tok.getLiteralData()) in dump()
168 Out << StringRef(Tok.getLiteralData(), Tok.getLength()); in dump()
DTokenConcatenation.cpp130 if (Tok.isLiteral() && Tok.getLiteralData()) { in GetFirstChar()
131 return *Tok.getLiteralData(); in GetFirstChar()
DTokenLexer.cpp579 ResultTokStrPtr = ResultTokTmp.getLiteralData(); in PasteTokens()
DLexer.cpp377 TokStart = Tok.getLiteralData(); in getSpelling()
/external/llvm-project/clang/lib/Lex/
DMacroInfo.cpp169 else if (Tok.isLiteral() && Tok.getLiteralData()) in dump()
170 Out << StringRef(Tok.getLiteralData(), Tok.getLength()); in dump()
DTokenConcatenation.cpp133 if (Tok.isLiteral() && Tok.getLiteralData()) { in GetFirstChar()
134 return *Tok.getLiteralData(); in GetFirstChar()
DTokenLexer.cpp802 ResultTokStrPtr = ResultTokTmp.getLiteralData(); in pasteTokens()
DLexer.cpp419 TokStart = Tok.getLiteralData(); in getSpelling()
/external/llvm-project/clang/unittests/Lex/
DLexerTest.cpp414 EXPECT_STREQ("\"\\\"StrArg\\\"\"", Result.getLiteralData()); in TEST_F()
417 EXPECT_STREQ("\"5\"", Result.getLiteralData()); in TEST_F()
420 EXPECT_STREQ("\"'C'\"", Result.getLiteralData()); in TEST_F()
/external/clang/include/clang/Lex/
DToken.h214 const char *getLiteralData() const { in getLiteralData() function
DPreprocessor.h1419 if (const char *D = Tok.getLiteralData())
/external/llvm-project/clang/include/clang/Lex/
DToken.h217 const char *getLiteralData() const { in getLiteralData() function
DPreprocessor.h1776 if (const char *D = Tok.getLiteralData())
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp672 Tok.getLiteralData()) { in PrintPreprocessedTokens()
673 OS.write(Tok.getLiteralData(), Tok.getLength()); in PrintPreprocessedTokens()
DCacheTokens.cpp271 StringRef s(T.getLiteralData(), T.getLength()); in EmitToken()
/external/llvm-project/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp790 Tok.getLiteralData()) { in PrintPreprocessedTokens()
791 OS.write(Tok.getLiteralData(), Tok.getLength()); in PrintPreprocessedTokens()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangModulesDeclVendor.cpp543 if (const char *literal_data = ti->getLiteralData()) { in ForEachMacro()
/external/clang/lib/Format/
DUnwrappedLineParser.cpp586 FormatTok->Tok.getLiteralData() != nullptr && in parsePPIf()
587 StringRef(FormatTok->Tok.getLiteralData(), in parsePPIf()
/external/clang/lib/StaticAnalyzer/Checkers/
DLocalizationChecker.cpp1067 StringRef(Result.getLiteralData(), Result.getLength()).trim('"'); in VisitObjCMessageExpr()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DLocalizationChecker.cpp1177 StringRef(Result.getLiteralData(), Result.getLength()).trim('"'); in VisitObjCMessageExpr()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp830 if (const char *StringLit = Tok.getLiteralData()) in UseNSOptionsMacro()
/external/llvm-project/clang/lib/ARCMigrate/
DObjCMT.cpp823 if (const char *StringLit = Tok.getLiteralData()) in UseNSOptionsMacro()

12