/external/llvm/lib/Option/ |
D | Arg.cpp | 100 OS << getSpelling(); in render() 111 getIndex(), getSpelling(), getValue(0))); in render() 116 Output.push_back(Args.MakeArgString(getSpelling())); in render()
|
/external/clang/lib/Lex/ |
D | TokenConcatenation.cpp | 63 unsigned length = PP.getSpelling(Tok, TokPtr); in IsIdentifierStringPrefix() 67 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11); in IsIdentifierStringPrefix() 139 PP.getSpelling(Tok, TokPtr); in GetFirstChar() 142 return PP.getSpelling(Tok)[0]; in GetFirstChar()
|
D | Pragma.cpp | 229 std::string StrVal = getSpelling(StrTok); in Handle_Pragma() 465 StringRef Filename = getSpelling(FilenameTok, FilenameBuffer, &Invalid); in HandlePragmaDependency() 495 Message += getSpelling(DependencyTok) + " "; in HandlePragmaDependency() 516 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro() 524 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro() 534 std::string StrVal = getSpelling(Tok); in ParsePragmaPushOrPopMacro() 540 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro() 646 SourceFileName = getSpelling(SourceFilenameTok, FileNameBuffer); in HandlePragmaIncludeAlias() 677 ReplaceFileName = getSpelling(ReplaceFilenameTok, FileNameBuffer); in HandlePragmaIncludeAlias() 1120 Specifier = PP.getSpelling(Tok, SpecifierBuf); in HandlePragma()
|
D | Preprocessor.cpp | 216 << getSpelling(Tok) << "'"; in DumpToken() 440 StringRef Preprocessor::getSpelling(const Token &Tok, in getSpelling() function in Preprocessor 455 unsigned Len = getSpelling(Tok, Ptr, Invalid); in getSpelling() 557 StringRef CleanedStr = getSpelling(Identifier, IdentifierBuffer); in LookUpIdentifierInfo() 862 StringRef Spelling = getSpelling(Tok, IntegerBuffer, &NumberInvalid); in parseSimpleIntegerLiteral()
|
D | MacroInfo.cpp | 122 if (PP.getSpelling(A) != PP.getSpelling(B)) in isIdenticalTo()
|
D | MacroArgs.cpp | 224 std::string TokStr = PP.getSpelling(Tok, &Invalid); in StringifyArgument() 238 unsigned ActualTokLen = PP.getSpelling(Tok, BufPtr, &Invalid); in StringifyArgument()
|
D | PPDirectives.cpp | 231 std::string Spelling = getSpelling(MacroNameTok, &Invalid); in CheckMacroName() 457 std::string DirectiveStr = getSpelling(Tok); in SkipExcludedConditionalBlock() 1096 unsigned ActualLength = PP.getSpelling(DigitTok, DigitTokBegin, &Invalid); in GetLineValue() 1411 std::string Str = getSpelling(StrTok, &Invalid); in HandleIdentSCCSDirective() 1558 unsigned ActualLen = getSpelling(CurTok, BufPtr); in ConcatenateIncludeName() 1700 Filename = getSpelling(FilenameTok, FilenameBuffer); in HandleIncludeDirective()
|
/external/clang/tools/libclang/ |
D | CIndexDiagnostic.h | 68 virtual CXString getSpelling() const = 0; 129 CXString getSpelling() const override;
|
D | CXLoadedDiagnostic.h | 38 CXString getSpelling() const override;
|
D | CXStoredDiagnostic.cpp | 52 CXString CXStoredDiagnostic::getSpelling() const { in getSpelling() function in CXStoredDiagnostic
|
D | CIndexDiagnostic.cpp | 61 CXString getSpelling() const override { in getSpelling() function in __anon2a4946200111::CXDiagnosticCustomNoteImpl 393 return D->getSpelling(); in clang_getDiagnosticSpelling()
|
/external/clang/lib/Parse/ |
D | ParseOpenMP.cpp | 118 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok)); in ParseOpenMPDirectiveKind() 130 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok)); in ParseOpenMPDirectiveKind() 919 : getOpenMPClauseKind(PP.getSpelling(Tok)); in ParseOpenMPDeclarativeOrExecutableDirective() 1293 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)); in ParseOpenMPSimpleClause() 1373 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)); in ParseOpenMPSingleExprWithArgClause() 1385 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)); in ParseOpenMPSingleExprWithArgClause() 1400 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)); in ParseOpenMPSingleExprWithArgClause() 1414 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok))); in ParseOpenMPSingleExprWithArgClause() 1424 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok))); in ParseOpenMPSingleExprWithArgClause() 1436 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok))); in ParseOpenMPSingleExprWithArgClause() [all …]
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 248 static unsigned getSpelling(const Token &Tok, const char *&Buffer, 258 static std::string getSpelling(const Token &Tok, 271 static StringRef getSpelling(SourceLocation loc,
|
D | Preprocessor.h | 1359 StringRef getSpelling(SourceLocation loc, 1362 return Lexer::getSpelling(loc, buffer, SourceMgr, LangOpts, invalid); 1373 std::string getSpelling(const Token &Tok, bool *Invalid = nullptr) const { 1374 return Lexer::getSpelling(Tok, SourceMgr, LangOpts, Invalid); 1389 unsigned getSpelling(const Token &Tok, const char *&Buffer, 1391 return Lexer::getSpelling(Tok, Buffer, SourceMgr, LangOpts, Invalid); 1398 StringRef getSpelling(const Token &Tok,
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteTest.cpp | 38 *OS << PP.getSpelling(*I); in DoRewriteTest()
|
D | RewriteMacros.cpp | 198 Expansion += ' ' + PP.getSpelling(PPTok); in RewriteMacrosInInput()
|
D | InclusionRewriter.cpp | 358 StringRef TmpName = PP.getSpelling(Tok, TmpBuffer, &Invalid); in HandleHasInclude() 374 Filename = PP.getSpelling(Tok, FilenameBuffer, &Invalid); in HandleHasInclude()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 71 OS << PP.getSpelling(T, SpellingBuffer); in PrintMacroDefinition() 611 std::string TokSpell = PP.getSpelling(PragmaTok); in HandlePragma() 676 unsigned Len = PP.getSpelling(Tok, TokPtr); in PrintPreprocessedTokens() 684 std::string S = PP.getSpelling(Tok); in PrintPreprocessedTokens()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerContext.cpp | 99 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts()); in getMacroNameOrSpelling()
|
/external/llvm/include/llvm/Option/ |
D | Arg.h | 71 StringRef getSpelling() const { return Spelling; } in getSpelling() function
|
/external/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 534 std::string Expansion = EscapeText(TmpPP.getSpelling(Tok)); in HighlightMacros() 562 Expansion += EscapeText(TmpPP.getSpelling(Tok)); in HighlightMacros()
|
/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 115 ASSERT_EQ("M", PP.getSpelling(macroExpStartLoc, str)); in TEST_F() 116 ASSERT_EQ(")", PP.getSpelling(macroExpEndLoc, str)); in TEST_F()
|
/external/llvm/lib/LibDriver/ |
D | LibDriver.cpp | 122 llvm::errs() << "ignoring unknown argument: " << Arg->getSpelling() << "\n"; in libDriverMain()
|
/external/clang/include/clang/AST/ |
D | Attr.h | 92 const char *getSpelling() const;
|
/external/clang/lib/Driver/ |
D | Driver.cpp | 1231 << Previous->getSpelling() << (*it)->getSpelling(); in BuildInputs() 1505 << A->getSpelling() << V; in BuildActions() 1517 << A->getSpelling() << V; in BuildActions() 1526 Diag(clang::diag::err_drv_missing_argument) << A->getSpelling() << 1; in BuildActions() 1538 Diag(clang::diag::warn_drv_ycyu_no_arg_clang_cl) << YcArg->getSpelling(); in BuildActions() 1543 Diag(clang::diag::warn_drv_ycyu_no_arg_clang_cl) << YuArg->getSpelling(); in BuildActions() 1563 << (YcArg ? YcArg : YuArg)->getSpelling(); in BuildActions()
|