/external/clang/lib/Lex/ |
D | TokenConcatenation.cpp | 62 unsigned length = PP.getSpelling(Tok, TokPtr); in IsIdentifierStringPrefix() 66 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus0x); in IsIdentifierStringPrefix() 134 PP.getSpelling(Tok, TokPtr); in GetFirstChar() 137 return PP.getSpelling(Tok)[0]; in GetFirstChar()
|
D | MacroInfo.cpp | 128 if (PP.getSpelling(A) != PP.getSpelling(B)) in isIdenticalTo()
|
D | Pragma.cpp | 218 std::string StrVal = getSpelling(StrTok); in Handle_Pragma() 427 StringRef Filename = getSpelling(FilenameTok, FilenameBuffer, &Invalid); in HandlePragmaDependency() 456 Message += getSpelling(DependencyTok) + " "; in HandlePragmaDependency() 641 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro() 649 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro() 659 std::string StrVal = getSpelling(Tok); in ParsePragmaPushOrPopMacro() 665 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro() 769 SourceFileName = getSpelling(SourceFilenameTok, FileNameBuffer); in HandlePragmaIncludeAlias() 800 ReplaceFileName = getSpelling(ReplaceFilenameTok, FileNameBuffer); in HandlePragmaIncludeAlias()
|
D | Preprocessor.cpp | 184 << getSpelling(Tok) << "'"; in DumpToken() 344 StringRef Preprocessor::getSpelling(const Token &Tok, in getSpelling() function in Preprocessor 359 unsigned Len = getSpelling(Tok, Ptr, Invalid); in getSpelling() 461 StringRef CleanedStr = getSpelling(Identifier, IdentifierBuffer); in LookUpIdentifierInfo()
|
D | MacroArgs.cpp | 228 std::string TokStr = PP.getSpelling(Tok, &Invalid); in StringifyArgument() 242 unsigned ActualTokLen = PP.getSpelling(Tok, BufPtr, &Invalid); in StringifyArgument()
|
D | PPDirectives.cpp | 120 std::string Spelling = getSpelling(MacroNameTok, &Invalid); in ReadMacroName() 293 std::string DirectiveStr = getSpelling(Tok); in SkipExcludedConditionalBlock() 752 unsigned ActualLength = PP.getSpelling(DigitTok, DigitTokBegin, &Invalid); in GetLineValue() 1065 std::string Str = getSpelling(StrTok, &Invalid); in HandleIdentSCCSDirective() 1218 unsigned ActualLen = getSpelling(CurTok, BufPtr); in ConcatenateIncludeName() 1267 Filename = getSpelling(FilenameTok, FilenameBuffer); in HandleIncludeDirective()
|
D | TokenLexer.cpp | 473 unsigned LHSLen = PP.getSpelling(Tok, BufPtr, &Invalid); in PasteTokens() 480 unsigned RHSLen = PP.getSpelling(RHS, BufPtr, &Invalid); in PasteTokens()
|
D | PPExpressions.cpp | 202 StringRef Spelling = PP.getSpelling(PeekTok, IntegerBuffer, in EvaluateValue() 264 StringRef ThisTok = PP.getSpelling(PeekTok, CharBuffer, &CharInvalid); in EvaluateValue()
|
D | LiteralSupport.cpp | 1124 Lexer::getSpelling(StringToks[i], ThisTokBuf, SM, Features, in init() 1363 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte()
|
D | Lexer.cpp | 241 StringRef Lexer::getSpelling(SourceLocation loc, in getSpelling() function in Lexer 289 std::string Lexer::getSpelling(const Token &Tok, const SourceManager &SourceMgr, in getSpelling() function in Lexer 330 unsigned Lexer::getSpelling(const Token &Tok, const char *&Buffer, in getSpelling() function in Lexer 2031 std::string Spelling = PP->getSpelling(Result, &Invalid); in SaveBCPLComment()
|
/external/clang/tools/libclang/ |
D | CIndexDiagnostic.h | 69 virtual CXString getSpelling() const = 0; 130 virtual CXString getSpelling() const;
|
D | CXLoadedDiagnostic.h | 38 virtual CXString getSpelling() const;
|
D | CXStoredDiagnostic.cpp | 51 CXString CXStoredDiagnostic::getSpelling() const { in getSpelling() function in CXStoredDiagnostic
|
D | CIndexDiagnostic.cpp | 64 CXString getSpelling() const { in getSpelling() function in __anon2e96c6e50111::CXDiagnosticCustomNoteImpl 369 return D->getSpelling(); in clang_getDiagnosticSpelling()
|
D | CXLoadedDiagnostic.cpp | 104 CXString CXLoadedDiagnostic::getSpelling() const { in getSpelling() function in CXLoadedDiagnostic
|
/external/clang/include/clang/Lex/ |
D | Preprocessor.h | 798 StringRef getSpelling(SourceLocation loc, 801 return Lexer::getSpelling(loc, buffer, SourceMgr, LangOpts, invalid); 811 std::string getSpelling(const Token &Tok, bool *Invalid = 0) const { 812 return Lexer::getSpelling(Tok, SourceMgr, LangOpts, Invalid); 825 unsigned getSpelling(const Token &Tok, const char *&Buffer, 827 return Lexer::getSpelling(Tok, Buffer, SourceMgr, LangOpts, Invalid); 833 StringRef getSpelling(const Token &Tok,
|
D | Lexer.h | 241 static unsigned getSpelling(const Token &Tok, const char *&Buffer, 251 static std::string getSpelling(const Token &Tok, 264 static StringRef getSpelling(SourceLocation loc,
|
/external/clang/lib/Rewrite/ |
D | RewriteTest.cpp | 38 *OS << PP.getSpelling(*I); in DoRewriteTest()
|
D | HTMLRewrite.cpp | 529 std::string Expansion = EscapeText(TmpPP.getSpelling(Tok)); in HighlightMacros() 557 Expansion += EscapeText(TmpPP.getSpelling(Tok)); in HighlightMacros()
|
D | RewriteMacros.cpp | 198 Expansion += ' ' + PP.getSpelling(PPTok); in RewriteMacrosInInput()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 71 OS << PP.getSpelling(*I, SpellingBuffer); in PrintMacroDefinition() 482 std::string TokSpell = PP.getSpelling(PragmaTok); in HandlePragma() 520 unsigned Len = PP.getSpelling(Tok, TokPtr); in PrintPreprocessedTokens() 528 std::string S = PP.getSpelling(Tok); in PrintPreprocessedTokens()
|
D | VerifyDiagnosticConsumer.cpp | 362 std::string Comment = PP.getSpelling(Tok); in FindExpectedDiags()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerContext.cpp | 81 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts()); in getMacroNameOrSpelling()
|
/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 101 ASSERT_EQ("M", PP.getSpelling(macroExpStartLoc, str)); in TEST_F() 102 ASSERT_EQ(")", PP.getSpelling(macroExpEndLoc, str)); in TEST_F()
|
/external/clang/lib/ARCMigrate/ |
D | TransGCAttrs.cpp | 98 StringRef Spell = Lexer::getSpelling( in handleAttr()
|