/external/clang/lib/Rewrite/ |
RewriteTest.cpp | 38 *OS << PP.getSpelling(*I);
|
RewriteMacros.cpp | 198 Expansion += ' ' + PP.getSpelling(PPTok);
|
HTMLRewrite.cpp | 529 std::string Expansion = EscapeText(TmpPP.getSpelling(Tok)); 557 Expansion += EscapeText(TmpPP.getSpelling(Tok));
|
/external/clang/lib/Lex/ |
MacroInfo.cpp | 128 if (PP.getSpelling(A) != PP.getSpelling(B))
|
TokenConcatenation.cpp | 62 unsigned length = PP.getSpelling(Tok, TokPtr); 66 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus0x); 119 /// avoiding calls to getSpelling where possible. 134 PP.getSpelling(Tok, TokPtr); 137 return PP.getSpelling(Tok)[0];
|
Pragma.cpp | 218 std::string StrVal = getSpelling(StrTok); 427 StringRef Filename = getSpelling(FilenameTok, FilenameBuffer, &Invalid); 456 Message += getSpelling(DependencyTok) + " "; 641 << getSpelling(PragmaTok); 649 << getSpelling(PragmaTok); 659 std::string StrVal = getSpelling(Tok); 665 << getSpelling(PragmaTok); 769 SourceFileName = getSpelling(SourceFilenameTok, FileNameBuffer); 800 ReplaceFileName = getSpelling(ReplaceFilenameTok, FileNameBuffer); [all...] |
Preprocessor.cpp | 184 << getSpelling(Tok) << "'"; 341 /// getSpelling - This method is used to get the spelling of a token into a 344 StringRef Preprocessor::getSpelling(const Token &Tok, 359 unsigned Len = getSpelling(Tok, Ptr, Invalid); 461 StringRef CleanedStr = getSpelling(Identifier, IdentifierBuffer);
|
MacroArgs.cpp | 228 std::string TokStr = PP.getSpelling(Tok, &Invalid); 242 unsigned ActualTokLen = PP.getSpelling(Tok, BufPtr, &Invalid); 245 // If getSpelling returned a pointer to an already uniqued version of
|
PPExpressions.cpp | 202 StringRef Spelling = PP.getSpelling(PeekTok, IntegerBuffer, 264 StringRef ThisTok = PP.getSpelling(PeekTok, CharBuffer, &CharInvalid);
|
TokenLexer.cpp | 473 unsigned LHSLen = PP.getSpelling(Tok, BufPtr, &Invalid); 480 unsigned RHSLen = PP.getSpelling(RHS, BufPtr, &Invalid);
|
PPDirectives.cpp | 120 std::string Spelling = getSpelling(MacroNameTok, &Invalid); 293 std::string DirectiveStr = getSpelling(Tok); 752 unsigned ActualLength = PP.getSpelling(DigitTok, DigitTokBegin, &Invalid); [all...] |
Lexer.cpp | 236 /// getSpelling() - Return the 'spelling' of this token. The spelling of a 241 StringRef Lexer::getSpelling(SourceLocation loc, 284 /// getSpelling() - Return the 'spelling' of this token. The spelling of a 289 std::string Lexer::getSpelling(const Token &Tok, const SourceManager &SourceMgr, 320 /// getSpelling - This method is used to get the spelling of a token into a 330 unsigned Lexer::getSpelling(const Token &Tok, const char *&Buffer, [all...] |
/external/clang/tools/libclang/ |
CIndexDiagnostic.h | 69 virtual CXString getSpelling() const = 0; 130 virtual CXString getSpelling() const;
|
CXLoadedDiagnostic.h | 38 virtual CXString getSpelling() const;
|
CXStoredDiagnostic.cpp | 51 CXString CXStoredDiagnostic::getSpelling() const {
|
CIndexDiagnostic.cpp | 64 CXString getSpelling() const { 369 return D->getSpelling();
|
/external/clang/include/clang/Basic/ |
TokenKinds.h | 64 /// Preprocessor::getSpelling().
|
/external/clang/lib/StaticAnalyzer/Core/ |
CheckerContext.cpp | 81 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts());
|
/external/clang/unittests/Basic/ |
SourceManagerTest.cpp | 101 ASSERT_EQ("M", PP.getSpelling(macroExpStartLoc, str)); 102 ASSERT_EQ(")", PP.getSpelling(macroExpEndLoc, str));
|
/frameworks/compile/slang/ |
slang_rs_pragma_handler.cpp | 98 std::string Spelling = PP.getSpelling(PragmaToken, &Invalid); 208 this->handleItem(PP.getSpelling(PragmaToken));
|
/external/clang/include/clang/Lex/ |
Lexer.h | 231 /// getSpelling - This method is used to get the spelling of a token into a 241 static unsigned getSpelling(const Token &Tok, const char *&Buffer, 246 /// getSpelling() - Return the 'spelling' of the Tok token. The spelling of a 251 static std::string getSpelling(const Token &Tok, 256 /// getSpelling - This method is used to get the spelling of the 264 static StringRef getSpelling(SourceLocation loc,
|
Preprocessor.h | 791 /// getSpelling() - Return the 'spelling' of the token at the given 798 StringRef getSpelling(SourceLocation loc, 801 return Lexer::getSpelling(loc, buffer, SourceMgr, LangOpts, invalid); 804 /// getSpelling() - Return the 'spelling' of the Tok token. The spelling of [all...] |
/external/clang/lib/Frontend/ |
PrintPreprocessedOutput.cpp | 71 OS << PP.getSpelling(*I, SpellingBuffer); 482 std::string TokSpell = PP.getSpelling(PragmaTok); 520 unsigned Len = PP.getSpelling(Tok, TokPtr); 528 std::string S = PP.getSpelling(Tok);
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
CheckerContext.h | 208 /// \sa clang::Lexer::getSpelling(), clang::Lexer::getImmediateMacroName().
|
/external/clang/lib/ARCMigrate/ |
TransGCAttrs.cpp | 98 StringRef Spell = Lexer::getSpelling(
|