/external/clang/lib/Lex/ |
D | TokenConcatenation.cpp | 63 unsigned length = PP.getSpelling(Tok, TokPtr); in IsIdentifierStringPrefix() 67 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus0x); in IsIdentifierStringPrefix() 135 PP.getSpelling(Tok, TokPtr); in GetFirstChar() 138 return PP.getSpelling(Tok)[0]; in GetFirstChar()
|
D | MacroInfo.cpp | 130 if (PP.getSpelling(A) != PP.getSpelling(B)) in isIdenticalTo()
|
D | Pragma.cpp | 221 std::string StrVal = getSpelling(StrTok); in Handle_Pragma() 430 StringRef Filename = getSpelling(FilenameTok, FilenameBuffer, &Invalid); in HandlePragmaDependency() 459 Message += getSpelling(DependencyTok) + " "; in HandlePragmaDependency() 651 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro() 659 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro() 669 std::string StrVal = getSpelling(Tok); in ParsePragmaPushOrPopMacro() 675 << getSpelling(PragmaTok); in ParsePragmaPushOrPopMacro() 788 SourceFileName = getSpelling(SourceFilenameTok, FileNameBuffer); in HandlePragmaIncludeAlias() 819 ReplaceFileName = getSpelling(ReplaceFilenameTok, FileNameBuffer); in HandlePragmaIncludeAlias()
|
D | Preprocessor.cpp | 185 << getSpelling(Tok) << "'"; in DumpToken() 359 StringRef Preprocessor::getSpelling(const Token &Tok, in getSpelling() function in Preprocessor 374 unsigned Len = getSpelling(Tok, Ptr, Invalid); in getSpelling() 476 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 | 123 std::string Spelling = getSpelling(MacroNameTok, &Invalid); in ReadMacroName() 297 std::string DirectiveStr = getSpelling(Tok); in SkipExcludedConditionalBlock() 782 unsigned ActualLength = PP.getSpelling(DigitTok, DigitTokBegin, &Invalid); in GetLineValue() 1092 std::string Str = getSpelling(StrTok, &Invalid); in HandleIdentSCCSDirective() 1248 unsigned ActualLen = getSpelling(CurTok, BufPtr); in ConcatenateIncludeName() 1297 Filename = getSpelling(FilenameTok, FilenameBuffer); in HandleIncludeDirective()
|
D | TokenLexer.cpp | 480 unsigned LHSLen = PP.getSpelling(Tok, BufPtr, &Invalid); in PasteTokens() 487 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 | 1186 Lexer::getSpelling(StringToks[i], ThisTokBuf, SM, Features, in init() 1409 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte()
|
/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 __anon22ab40a70111::CXDiagnosticCustomNoteImpl 379 return D->getSpelling(); in clang_getDiagnosticSpelling()
|
/external/clang/include/clang/Lex/ |
D | Preprocessor.h | 839 StringRef getSpelling(SourceLocation loc, 842 return Lexer::getSpelling(loc, buffer, SourceMgr, LangOpts, invalid); 852 std::string getSpelling(const Token &Tok, bool *Invalid = 0) const { 853 return Lexer::getSpelling(Tok, SourceMgr, LangOpts, Invalid); 866 unsigned getSpelling(const Token &Tok, const char *&Buffer, 868 return Lexer::getSpelling(Tok, Buffer, SourceMgr, LangOpts, Invalid); 874 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/Frontend/ |
D | RewriteTest.cpp | 38 *OS << PP.getSpelling(*I); in DoRewriteTest()
|
D | RewriteMacros.cpp | 198 Expansion += ' ' + PP.getSpelling(PPTok); in RewriteMacrosInInput()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 72 OS << PP.getSpelling(*I, SpellingBuffer); in PrintMacroDefinition() 486 std::string TokSpell = PP.getSpelling(PragmaTok); in HandlePragma() 528 unsigned Len = PP.getSpelling(Tok, TokPtr); in PrintPreprocessedTokens() 536 std::string S = PP.getSpelling(Tok); in PrintPreprocessedTokens()
|
/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/Rewrite/Core/ |
D | HTMLRewrite.cpp | 535 std::string Expansion = EscapeText(TmpPP.getSpelling(Tok)); in HighlightMacros() 563 Expansion += EscapeText(TmpPP.getSpelling(Tok)); in HighlightMacros()
|
/external/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 347 static StringRef getSpelling(Sema &SemaRef, Token AsmTok) { in getSpelling() function 352 Asm = SemaRef.PP.getSpelling(AsmTok, TokenBuf, &StringInvalid); in getSpelling() 449 Asm += getSpelling(SemaRef, AsmToks[i]); in buildMSAsmString()
|
/external/clang/lib/AST/ |
D | CommentLexer.cpp | 13 llvm::errs() << " " << Length << " \"" << L.getSpelling(*this, SM) << "\"\n"; in dump() 815 StringRef Lexer::getSpelling(const Token &Tok, in getSpelling() function in clang::comments::Lexer
|
/external/clang/include/clang/AST/ |
D | CommentLexer.h | 354 StringRef getSpelling(const Token &Tok,
|
/external/clang/lib/ARCMigrate/ |
D | TransGCAttrs.cpp | 99 StringRef Spell = Lexer::getSpelling( in handleAttr()
|