/external/clang/lib/Rewrite/Frontend/ |
H A D | RewriteTest.cpp | 38 *OS << PP.getSpelling(*I);
|
H A D | RewriteMacros.cpp | 198 Expansion += ' ' + PP.getSpelling(PPTok);
|
/external/clang/lib/Driver/ |
H A D | Arg.cpp | 101 OS << getSpelling(); 112 getIndex(), getSpelling(), getValue(0))); 118 Output.push_back(Args.MakeArgString(getSpelling()));
|
/external/llvm/lib/Option/ |
H A D | Arg.cpp | 100 OS << getSpelling(); 111 getIndex(), getSpelling(), getValue(0))); 117 Output.push_back(Args.MakeArgString(getSpelling()));
|
/external/clang/lib/Lex/ |
H A D | MacroInfo.cpp | 103 if (PP.getSpelling(A) != PP.getSpelling(B))
|
H A D | TokenConcatenation.cpp | 63 unsigned length = PP.getSpelling(Tok, TokPtr); 67 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11); 120 /// avoiding calls to getSpelling where possible. 135 PP.getSpelling(Tok, TokPtr); 138 return PP.getSpelling(Tok)[0];
|
H A D | Pragma.cpp | 220 std::string StrVal = getSpelling(StrTok); 454 StringRef Filename = getSpelling(FilenameTok, FilenameBuffer, &Invalid); 483 Message += getSpelling(DependencyTok) + " "; 623 << getSpelling(PragmaTok); 631 << getSpelling(PragmaTok); 641 std::string StrVal = getSpelling(Tok); 647 << getSpelling(PragmaTok); 757 SourceFileName = getSpelling(SourceFilenameTok, FileNameBuffer); 788 ReplaceFileName = getSpelling(ReplaceFilenameTok, FileNameBuffer);
|
H A D | MacroArgs.cpp | 224 std::string TokStr = PP.getSpelling(Tok, &Invalid); 238 unsigned ActualTokLen = PP.getSpelling(Tok, BufPtr, &Invalid); 241 // If getSpelling returned a pointer to an already uniqued version of
|
H A D | Preprocessor.cpp | 192 << getSpelling(Tok) << "'"; 397 /// getSpelling - This method is used to get the spelling of a token into a 400 StringRef Preprocessor::getSpelling(const Token &Tok, function in class:Preprocessor 415 unsigned Len = getSpelling(Tok, Ptr, Invalid); 560 StringRef CleanedStr = getSpelling(Identifier, IdentifierBuffer);
|
H A D | PPDirectives.cpp | 126 std::string Spelling = getSpelling(MacroNameTok, &Invalid); 299 std::string DirectiveStr = getSpelling(Tok); 781 unsigned ActualLength = PP.getSpelling(DigitTok, DigitTokBegin, &Invalid); 1091 std::string Str = getSpelling(StrTok, &Invalid); 1247 unsigned ActualLen = getSpelling(CurTok, BufPtr); 1296 Filename = getSpelling(FilenameTok, FilenameBuffer);
|
H A D | TokenLexer.cpp | 521 unsigned LHSLen = PP.getSpelling(Tok, BufPtr, &Invalid); 528 unsigned RHSLen = PP.getSpelling(RHS, BufPtr, &Invalid);
|
/external/clang/tools/libclang/ |
H A D | CIndexDiagnostic.h | 69 virtual CXString getSpelling() const = 0; 130 virtual CXString getSpelling() const;
|
H A D | CXLoadedDiagnostic.h | 38 virtual CXString getSpelling() const;
|
H A D | CXStoredDiagnostic.cpp | 50 CXString CXStoredDiagnostic::getSpelling() const { function in class:CXStoredDiagnostic
|
H A D | CIndexDiagnostic.cpp | 63 CXString getSpelling() const { function in class:__anon5070::CXDiagnosticCustomNoteImpl 378 return D->getSpelling();
|
/external/clang/include/clang/Driver/ |
H A D | Arg.h | 75 StringRef getSpelling() const { return Spelling; } function in class:clang::driver::Arg
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerContext.cpp | 96 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts());
|
/external/llvm/include/llvm/Option/ |
H A D | Arg.h | 74 StringRef getSpelling() const { return Spelling; } function in class:llvm::opt::Arg
|
/external/clang/include/clang/Lex/ |
H A D | Lexer.h | 237 /// getSpelling - This method is used to get the spelling of a token into a 247 static unsigned getSpelling(const Token &Tok, const char *&Buffer, 252 /// getSpelling() - Return the 'spelling' of the Tok token. The spelling of a 257 static std::string getSpelling(const Token &Tok, 262 /// getSpelling - This method is used to get the spelling of the 270 static StringRef getSpelling(SourceLocation loc,
|
H A D | Preprocessor.h | 955 /// getSpelling() - Return the 'spelling' of the token at the given 962 StringRef getSpelling(SourceLocation loc, function in class:clang::Preprocessor 965 return Lexer::getSpelling(loc, buffer, SourceMgr, LangOpts, invalid); 968 /// getSpelling() - Return the 'spelling' of the Tok token. The spelling of a 975 std::string getSpelling(const Token &Tok, bool *Invalid = 0) const { function in class:clang::Preprocessor 976 return Lexer::getSpelling(Tok, SourceMgr, LangOpts, Invalid); 979 /// getSpelling - This method is used to get the spelling of a token into a 989 unsigned getSpelling(const Token &Tok, const char *&Buffer, function in class:clang::Preprocessor 991 return Lexer::getSpelling(Tok, Buffer, SourceMgr, LangOpts, Invalid); 994 /// getSpelling [all...] |
/external/clang/lib/Parse/ |
H A D | ParseAST.cpp | 61 OS << ": current parser token '" << PP.getSpelling(Tok) << "'\n";
|
/external/clang/lib/AST/ |
H A D | CommentLexer.cpp | 15 llvm::errs() << " " << Length << " \"" << L.getSpelling(*this, SM) << "\"\n"; 799 StringRef Lexer::getSpelling(const Token &Tok,
|
/external/clang/lib/Frontend/ |
H A D | PrintPreprocessedOutput.cpp | 72 OS << PP.getSpelling(*I, SpellingBuffer); 505 std::string TokSpell = PP.getSpelling(PragmaTok); 556 unsigned Len = PP.getSpelling(Tok, TokPtr); 564 std::string S = PP.getSpelling(Tok);
|
/external/clang/unittests/Basic/ |
H A D | SourceManagerTest.cpp | 109 ASSERT_EQ("M", PP.getSpelling(macroExpStartLoc, str)); 110 ASSERT_EQ(")", PP.getSpelling(macroExpEndLoc, str));
|
/external/clang/lib/Rewrite/Core/ |
H A D | HTMLRewrite.cpp | 535 std::string Expansion = EscapeText(TmpPP.getSpelling(Tok)); 563 Expansion += EscapeText(TmpPP.getSpelling(Tok));
|