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

Declarations

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

References

tools/clang/tools/extra/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp
   38           statement(RewriteRule::RootID),
   39           cat("if(!(", node(C), ")) ", statement(E), " else ", statement(T))),
   39           cat("if(!(", node(C), ")) ", statement(E), " else ", statement(T))),
tools/clang/unittests/Tooling/RangeSelectorTest.cpp
  209   EXPECT_THAT_EXPECTED(select(statement(ID), Match), HasValue("3;"));
tools/clang/unittests/Tooling/StencilTest.cpp
  132   auto Stencil = cat("if (!", node(Condition), ") ", statement(Else), " else ",
  133                      statement(Then));
  151   Stencil S = cat("if (!", node(Condition), ") ", statement(Else), " else ",
  152                   statement(Then));
tools/clang/unittests/Tooling/TransformerTest.cpp
  392                     insertBefore(statement(Ret), text("int y = 3;"))),
  413                     insertAfter(statement(Decl), text("int y = 3;"))),
  431   testRule(makeRule(declStmt().bind(Decl), remove(statement(Decl))), Input,
  455                      change(statement(T), text("{ /* then */ }")),
  456                      change(statement(E), text("{ /* else */ }"))}),