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

Declarations

tools/clang/include/clang/Tooling/Transformer/Stencil.h
  145 StencilPart text(llvm::StringRef Text);

References

tools/clang/include/clang/Tooling/Transformer/Stencil.h
  172   return access(BaseId, text(Member));
  184   return ifBound(Id, text(TrueText), text(FalseText));
  184   return ifBound(Id, text(TrueText), text(FalseText));
tools/clang/lib/Tooling/Transformer/Stencil.cpp
  254   return transformer::text(Text);
tools/clang/unittests/Tooling/StencilTest.cpp
  198   testExpr(Id, "3;", cat(ifBound(Id, text("5"), text("7"))), "5");
  198   testExpr(Id, "3;", cat(ifBound(Id, text("5"), text("7"))), "5");
  203   testExpr(Id, "3;", cat(ifBound("other", text("5"), text("7"))), "7");
  203   testExpr(Id, "3;", cat(ifBound("other", text("5"), text("7"))), "7");
  271   testExpr(Id, Snippet, cat(access(Id, text("field"))), "x.field");
  393   auto S = cat(access("Id", text("memberData")));
  405   auto S = cat(ifBound("Id", text("trueText"), access("exprId", "memberData")));
  419                ifBound("x", text("t"), access("e", "f")));