Searched refs:getSpelling (Results 1 - 25 of 42) sorted by relevance

12

/external/clang/lib/Rewrite/Frontend/
H A DRewriteTest.cpp38 *OS << PP.getSpelling(*I);
H A DRewriteMacros.cpp198 Expansion += ' ' + PP.getSpelling(PPTok);
H A DInclusionRewriter.cpp303 StringRef TmpName = PP.getSpelling(Tok, TmpBuffer, &Invalid);
319 Filename = PP.getSpelling(Tok, FilenameBuffer, &Invalid);
/external/llvm/lib/Option/
H A DArg.cpp100 OS << getSpelling();
111 getIndex(), getSpelling(), getValue(0)));
117 Output.push_back(Args.MakeArgString(getSpelling()));
/external/clang/tools/libclang/
H A DCIndexDiagnostic.h69 virtual CXString getSpelling() const = 0;
130 virtual CXString getSpelling() const;
H A DCXLoadedDiagnostic.h38 virtual CXString getSpelling() const;
H A DCXStoredDiagnostic.cpp50 CXString CXStoredDiagnostic::getSpelling() const { function in class:CXStoredDiagnostic
H A DCIndexDiagnostic.cpp63 CXString getSpelling() const { function in class:__anon17565::CXDiagnosticCustomNoteImpl
378 return D->getSpelling();
/external/clang/lib/Lex/
H A DTokenConcatenation.cpp63 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 DMacroInfo.cpp121 if (PP.getSpelling(A) != PP.getSpelling(B))
H A DPragma.cpp224 std::string StrVal = getSpelling(StrTok);
460 StringRef Filename = getSpelling(FilenameTok, FilenameBuffer, &Invalid);
489 Message += getSpelling(DependencyTok) + " ";
510 << getSpelling(PragmaTok);
518 << getSpelling(PragmaTok);
528 std::string StrVal = getSpelling(Tok);
534 << getSpelling(PragmaTok);
643 SourceFileName = getSpelling(SourceFilenameTok, FileNameBuffer);
674 ReplaceFileName = getSpelling(ReplaceFilenameTok, FileNameBuffer);
H A DMacroArgs.cpp224 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 DPreprocessor.cpp194 << getSpelling(Tok) << "'";
399 /// getSpelling - This method is used to get the spelling of a token into a
402 StringRef Preprocessor::getSpelling(const Token &Tok, function in class:Preprocessor
417 unsigned Len = getSpelling(Tok, Ptr, Invalid);
562 StringRef CleanedStr = getSpelling(Identifier, IdentifierBuffer);
H A DPPDirectives.cpp158 std::string Spelling = getSpelling(MacroNameTok, &Invalid);
331 std::string DirectiveStr = getSpelling(Tok);
844 unsigned ActualLength = PP.getSpelling(DigitTok, DigitTokBegin, &Invalid);
1155 std::string Str = getSpelling(StrTok, &Invalid);
1303 unsigned ActualLen = getSpelling(CurTok, BufPtr);
1352 Filename = getSpelling(FilenameTok, FilenameBuffer);
H A DTokenLexer.cpp535 unsigned LHSLen = PP.getSpelling(Tok, BufPtr, &Invalid);
542 unsigned RHSLen = PP.getSpelling(RHS, BufPtr, &Invalid);
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp96 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts());
/external/llvm/include/llvm/Option/
H A DArg.h74 StringRef getSpelling() const { return Spelling; } function in class:llvm::opt::Arg
/external/clang/lib/Parse/
H A DParseOpenMP.cpp39 getOpenMPDirectiveKind(PP.getSpelling(Tok));
91 getOpenMPDirectiveKind(PP.getSpelling(Tok));
117 getOpenMPClauseKind(PP.getSpelling(Tok));
307 getOpenMPSimpleClauseType(Kind, PP.getSpelling(Tok));
/external/clang/include/clang/Lex/
H A DLexer.h240 /// getSpelling - This method is used to get the spelling of a token into a
250 static unsigned getSpelling(const Token &Tok, const char *&Buffer,
255 /// getSpelling() - Return the 'spelling' of the Tok token. The spelling of a
260 static std::string getSpelling(const Token &Tok,
265 /// getSpelling - This method is used to get the spelling of the
273 static StringRef getSpelling(SourceLocation loc,
H A DPreprocessor.h956 /// getSpelling() - Return the 'spelling' of the token at the given
963 StringRef getSpelling(SourceLocation loc, function in class:clang::Preprocessor
966 return Lexer::getSpelling(loc, buffer, SourceMgr, LangOpts, invalid);
969 /// getSpelling() - Return the 'spelling' of the Tok token. The spelling of a
976 std::string getSpelling(const Token &Tok, bool *Invalid = 0) const { function in class:clang::Preprocessor
977 return Lexer::getSpelling(Tok, SourceMgr, LangOpts, Invalid);
980 /// getSpelling - This method is used to get the spelling of a token into a
990 unsigned getSpelling(const Token &Tok, const char *&Buffer, function in class:clang::Preprocessor
992 return Lexer::getSpelling(Tok, Buffer, SourceMgr, LangOpts, Invalid);
995 /// getSpelling
[all...]
/external/clang/lib/AST/
H A DCommentLexer.cpp16 llvm::errs() << " " << Length << " \"" << L.getSpelling(*this, SM) << "\"\n";
812 StringRef Lexer::getSpelling(const Token &Tok,
/external/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp72 OS << PP.getSpelling(*I, SpellingBuffer);
583 std::string TokSpell = PP.getSpelling(PragmaTok);
634 unsigned Len = PP.getSpelling(Tok, TokPtr);
642 std::string S = PP.getSpelling(Tok);
/external/clang/unittests/Basic/
H A DSourceManagerTest.cpp110 ASSERT_EQ("M", PP.getSpelling(macroExpStartLoc, str));
111 ASSERT_EQ(")", PP.getSpelling(macroExpEndLoc, str));
/external/clang/lib/Rewrite/Core/
H A DHTMLRewrite.cpp534 std::string Expansion = EscapeText(TmpPP.getSpelling(Tok));
562 Expansion += EscapeText(TmpPP.getSpelling(Tok));
/external/clang/include/clang/AST/
H A DCommentLexer.h363 StringRef getSpelling(const Token &Tok,

Completed in 359 milliseconds

12