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

Declarations

tools/clang/include/clang/Tooling/Transformer/RangeSelector.h
   51 RangeSelector node(std::string ID);

References

tools/clang/include/clang/Tooling/Transformer/RewriteRule.h
  202   return change(node(RewriteRule::RootID), std::move(Replacement));
tools/clang/include/clang/Tooling/Transformer/Stencil.h
  216   return selection(tooling::node(Id));
tools/clang/lib/Tooling/Transformer/RangeSelector.cpp
  171   return transformer::range(node(std::move(BeginID)), node(std::move(EndID)));
  171   return transformer::range(node(std::move(BeginID)), node(std::move(EndID)));
tools/clang/tools/extra/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp
   39           cat("if(!(", node(C), ")) ", statement(E), " else ", statement(T))),
  100                 change(node("r"), text("RIGHT")), text("no message")),
tools/clang/unittests/Tooling/RangeSelectorTest.cpp
  118   EXPECT_THAT_EXPECTED(selectFromTrivial(node("unbound_id")),
  140       before(node(Call))(Match.Result),
  187   EXPECT_THAT_EXPECTED(select(range(node(Arg0), node(Arg1)), Match),
  187   EXPECT_THAT_EXPECTED(select(range(node(Arg0), node(Arg1)), Match),
  195   EXPECT_THAT_EXPECTED(select(node(ID), Match), HasValue("return 3;"));
  202   EXPECT_THAT_EXPECTED(select(node(ID), Match), HasValue("3"));
  561   EXPECT_THAT_EXPECTED(select(expansion(node(Fun)), Match),
  574   EXPECT_THAT_EXPECTED(select(expansion(node(Ret)), Match),
  587   EXPECT_THAT_EXPECTED(select(ifBound(ID, node(ID), node(Op)), Match),
  587   EXPECT_THAT_EXPECTED(select(ifBound(ID, node(ID), node(Op)), Match),
  599   EXPECT_THAT_EXPECTED(select(ifBound(ID, node(ID), node(Op)), Match),
  599   EXPECT_THAT_EXPECTED(select(ifBound(ID, node(ID), node(Op)), Match),
tools/clang/unittests/Tooling/StencilTest.cpp
  132   auto Stencil = cat("if (!", node(Condition), ") ", statement(Else), " else ",
  151   Stencil S = cat("if (!", node(Condition), ") ", statement(Else), " else ",
  167   auto Stencil = cat("if(!", node("a1"), ") ", node("UNBOUND"), ";");
  167   auto Stencil = cat("if(!", node("a1"), ") ", node("UNBOUND"), ";");
  193   testExpr(Id, "3;", cat(node(Id)), "3");
  388   auto S1 = cat(node("node1"));
tools/clang/unittests/Tooling/TransformerTest.cpp
  174       change(node(Flag), text("EXPR")));
  454                     {change(node(C), text("true")),
  467       change(node(Flag), text("PROTO")));
  579   Transformer T(makeRule(binaryOperator().bind(O), change(node(O), AlwaysFail)),
  593                          {change(node(O), text("DELETE_OP")),
  594                           change(node(L), text("DELETE_LHS"))}),
  607   Transformer T(makeRule(expr().bind(E), change(node(E), text("DELETE_EXPR"))),
  645                            change(node(zero), text("999")));
  742                     change(node(E), text("LIT"))),
  760                     change(node(E), text("LIT"))),
  775                            change(node(zero), text("0")));