reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp
  341     const std::string TokenText = PP.getSpelling(IncludeTok);
  360          << "#" << PP.getSpelling(IncludeTok) << " "
  695       std::string TokSpell = PP.getSpelling(PragmaTok);
  802       std::string S = PP.getSpelling(Tok);
tools/clang/lib/Frontend/Rewrite/RewriteMacros.cpp
  197       Expansion += ' ' + PP.getSpelling(PPTok);
tools/clang/lib/Frontend/Rewrite/RewriteTest.cpp
   37     *OS << PP.getSpelling(*I);
tools/clang/lib/Lex/Lexer.cpp
 2396   std::string Spelling = PP->getSpelling(Result, &Invalid);
tools/clang/lib/Lex/MacroArgs.cpp
  238       std::string TokStr = PP.getSpelling(Tok, &Invalid);
tools/clang/lib/Lex/MacroInfo.cpp
  125     if (PP.getSpelling(A) != PP.getSpelling(B))
  125     if (PP.getSpelling(A) != PP.getSpelling(B))
tools/clang/lib/Lex/PPDirectives.cpp
  503       std::string DirectiveStr = getSpelling(Tok);
 1428     std::string Str = getSpelling(StrTok, &Invalid);
tools/clang/lib/Lex/Pragma.cpp
  257   std::string StrVal = getSpelling(StrTok);
  533       Message += getSpelling(DependencyTok) + " ";
  554       << getSpelling(PragmaTok);
  562       << getSpelling(PragmaTok);
  572   std::string StrVal = getSpelling(Tok);
  578       << getSpelling(PragmaTok);
tools/clang/lib/Lex/Preprocessor.cpp
  232                << getSpelling(Tok) << "'";
tools/clang/lib/Lex/TokenConcatenation.cpp
   66   return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11);
  145     return PP.getSpelling(Tok)[0];
tools/clang/lib/Parse/ParseExpr.cpp
  341               << /*RHS*/ 1 << PP.getSpelling(OpToken)
  444           << /*LHS*/0 << PP.getSpelling(Tok) << Actions.getExprRange(RHS.get());
  480           << /*RHS*/1 << PP.getSpelling(OpToken)
tools/clang/lib/Parse/ParseObjc.cpp
 1023     std::string ThisTok(PP.getSpelling(Tok));
tools/clang/lib/Parse/ParseOpenMP.cpp
  149           : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok));
  161             : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok));
  567                                  : getOpenMPClauseKind(PP.getSpelling(Tok));
  973                                          : PP.getSpelling(PrevTok));
 1019                                : getOpenMPClauseKind(PP.getSpelling(Tok));
 1102       Kind, Tok.isAnnotation() ? "" : P.getPreprocessor().getSpelling(Tok));
 1289                                  : getOpenMPClauseKind(PP.getSpelling(Tok));
 1335                                    : getOpenMPClauseKind(PP.getSpelling(Tok));
 1643                                  : getOpenMPClauseKind(PP.getSpelling(Tok));
 1804                                : getOpenMPClauseKind(PP.getSpelling(Tok));
 2287         Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok));
 2299             Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok));
 2314           Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok));
 2328         Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)));
 2338         Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)));
 2350         Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)));
 2453       getOpenMPSimpleClauseType(OMPC_map, PP.getSpelling(Tok)));
 2531       getOpenMPSimpleClauseType(OMPC_map, PP.getSpelling(Tok)));
 2594             Kind, Tok.is(tok::identifier) ? PP.getSpelling(Tok) : ""));
 2620           getOpenMPSimpleClauseType(Kind, PP.getSpelling(Tok)));
 2664             getOpenMPSimpleClauseType(Kind, PP.getSpelling(Tok)));
 2669             getOpenMPSimpleClauseType(Kind, PP.getSpelling(Tok)));
tools/clang/lib/Parse/ParsePragma.cpp
 2627       << PP.getSpelling(Tok);
 2637       << PP.getSpelling(Tok);
 2644       << PP.getSpelling(Tok);
 2699           << PP.getSpelling(Tok) << OptionInfo->getName();
 2714           << PP.getSpelling(Tok) << OptionInfo->getName();
 3095         << PP.getSpelling(Tok) << "optimize" << /*Expected=*/true
 3214           << PP.getSpelling(Tok);
tools/clang/lib/Parse/Parser.cpp
  167       << PP.getSpelling(Tok)
 1734     << PP.getSpelling(Tok)
tools/clang/lib/Rewrite/HTMLRewrite.cpp
  621     std::string Expansion = EscapeText(TmpPP.getSpelling(Tok));
  649       Expansion += EscapeText(TmpPP.getSpelling(Tok));
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
 1070   std::string MacroName = PP.getSpelling(TheTok);
 1261       OS << '\"' << PP.getSpelling(Tok) << '\"';
 1263       OS << PP.getSpelling(Tok);
tools/clang/tools/extra/clang-tidy/bugprone/MacroParenthesesCheck.cpp
  150                                           PP->getSpelling(Last).length()),
  246                                           PP->getSpelling(Tok).length()),
tools/clang/tools/extra/clang-tidy/google/AvoidUnderscoreInGoogletestNameCheck.cpp
   55     std::string TestCaseName = PP->getSpelling(*TestCaseNameToken);
   62     std::string TestNameMaybeDisabled = PP->getSpelling(*TestNameToken);
tools/clang/tools/extra/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp
   69                          PP->getSpelling(MacroNameTok) == "TYPED_TEST_SUITE";
   96     std::string Name = PP->getSpelling(MacroNameTok);
tools/clang/tools/extra/clang-tidy/readability/RedundantPreprocessorCheck.cpp
   45     std::string MacroName = PP.getSpelling(MacroNameTok);
   53     std::string MacroName = PP.getSpelling(MacroNameTok);
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp
  413         Expanded += PP.getSpelling(T); // Not an identifier.
  443         Expanded += PP.getSpelling(AT); // Not an identifier.
 1379       IsDefined, PP.getSpelling(MacroNameTok),
 1390       IsNotDefined, PP.getSpelling(MacroNameTok),
tools/clang/tools/extra/pp-trace/PPCallbacksTracker.cpp
  466   appendArgument(Name, PP.getSpelling(Value));
  616         SS << PP.getSpelling(*Current);