/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | BadSignalToKillThreadCheck.cpp | 42 if (!T.isLiteral() || !T.getLiteralData()) in check() 44 StringRef ValueStr = StringRef(T.getLiteralData(), T.getLength()); in check()
|
D | NotNullTerminatedResultCheck.cpp | 808 if (T.isLiteral() && T.getLiteralData()) { in check() 809 StringRef ValueStr = StringRef(T.getLiteralData(), T.getLength()); in check()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | CheckerHelpers.cpp | 133 if (!T.isLiteral() || !T.getLiteralData()) in tryExpandAsInteger() 135 StringRef ValueStr = StringRef(T.getLiteralData(), T.getLength()); in tryExpandAsInteger()
|
/external/clang/lib/Lex/ |
D | MacroInfo.cpp | 167 else if (Tok.isLiteral() && Tok.getLiteralData()) in dump() 168 Out << StringRef(Tok.getLiteralData(), Tok.getLength()); in dump()
|
D | TokenConcatenation.cpp | 130 if (Tok.isLiteral() && Tok.getLiteralData()) { in GetFirstChar() 131 return *Tok.getLiteralData(); in GetFirstChar()
|
D | TokenLexer.cpp | 579 ResultTokStrPtr = ResultTokTmp.getLiteralData(); in PasteTokens()
|
D | Lexer.cpp | 377 TokStart = Tok.getLiteralData(); in getSpelling()
|
/external/llvm-project/clang/lib/Lex/ |
D | MacroInfo.cpp | 169 else if (Tok.isLiteral() && Tok.getLiteralData()) in dump() 170 Out << StringRef(Tok.getLiteralData(), Tok.getLength()); in dump()
|
D | TokenConcatenation.cpp | 133 if (Tok.isLiteral() && Tok.getLiteralData()) { in GetFirstChar() 134 return *Tok.getLiteralData(); in GetFirstChar()
|
D | TokenLexer.cpp | 802 ResultTokStrPtr = ResultTokTmp.getLiteralData(); in pasteTokens()
|
D | Lexer.cpp | 419 TokStart = Tok.getLiteralData(); in getSpelling()
|
/external/llvm-project/clang/unittests/Lex/ |
D | LexerTest.cpp | 414 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/ |
D | Token.h | 214 const char *getLiteralData() const { in getLiteralData() function
|
D | Preprocessor.h | 1419 if (const char *D = Tok.getLiteralData())
|
/external/llvm-project/clang/include/clang/Lex/ |
D | Token.h | 217 const char *getLiteralData() const { in getLiteralData() function
|
D | Preprocessor.h | 1776 if (const char *D = Tok.getLiteralData())
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 672 Tok.getLiteralData()) { in PrintPreprocessedTokens() 673 OS.write(Tok.getLiteralData(), Tok.getLength()); in PrintPreprocessedTokens()
|
D | CacheTokens.cpp | 271 StringRef s(T.getLiteralData(), T.getLength()); in EmitToken()
|
/external/llvm-project/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 790 Tok.getLiteralData()) { in PrintPreprocessedTokens() 791 OS.write(Tok.getLiteralData(), Tok.getLength()); in PrintPreprocessedTokens()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ClangModulesDeclVendor.cpp | 543 if (const char *literal_data = ti->getLiteralData()) { in ForEachMacro()
|
/external/clang/lib/Format/ |
D | UnwrappedLineParser.cpp | 586 FormatTok->Tok.getLiteralData() != nullptr && in parsePPIf() 587 StringRef(FormatTok->Tok.getLiteralData(), in parsePPIf()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | LocalizationChecker.cpp | 1067 StringRef(Result.getLiteralData(), Result.getLength()).trim('"'); in VisitObjCMessageExpr()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | LocalizationChecker.cpp | 1177 StringRef(Result.getLiteralData(), Result.getLength()).trim('"'); in VisitObjCMessageExpr()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 830 if (const char *StringLit = Tok.getLiteralData()) in UseNSOptionsMacro()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 823 if (const char *StringLit = Tok.getLiteralData()) in UseNSOptionsMacro()
|