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

Declarations

tools/clang/include/clang/Tooling/Syntax/Tokens.h
  120   llvm::StringRef text(const SourceManager &SM) const;

References

tools/clang/lib/Tooling/Syntax/BuildTree.cpp
  167                            It->first->text(A.sourceManager()), CoveredTokens);
tools/clang/lib/Tooling/Syntax/Tokens.cpp
  566   return llvm::formatv("{0}   {1}", tok::getTokenName(kind()), text(SM));
  573     return T.text(*SourceMgr);
  582     OS << Tokens[0].text(*SourceMgr);
tools/clang/lib/Tooling/Syntax/Tree.cpp
   82     OS << T.text(SM);
tools/clang/tools/extra/clangd/refactor/tweaks/ExpandMacro.cpp
  101   this->MacroName = T->text(Inputs.AST.getSourceManager());
  111     Replacement += T.text(SM);
tools/clang/tools/extra/clangd/unittests/ParsedASTTests.cpp
  185   EXPECT_EQ(T.expandedTokens().front().text(SM), "first_token");
  189   EXPECT_EQ(T.expandedTokens().drop_back().back().text(SM), "last_token");
  195   EXPECT_EQ(Spelled.back().text(SM), "last_token");
  211   EXPECT_EQ(T.expandedTokens().front().text(SM), "inline");
  215   EXPECT_EQ(T.expandedTokens().drop_back().back().text(SM), "}");
tools/clang/unittests/Tooling/Syntax/TokensTest.cpp
   79   return arg.text(*SourceMgr) == Text;
  206       return Q == T.text(*SourceMgr);