Searched refs:ifBound (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/clang/include/clang/Tooling/Transformer/ |
| H A D | Stencil.h | 110 Stencil ifBound(llvm::StringRef Id, Stencil TrueStencil, Stencil FalseStencil); 114 inline Stencil ifBound(llvm::StringRef Id, llvm::StringRef TrueText, in ifBound() function 116 return ifBound(Id, detail::makeStencil(TrueText), in ifBound()
|
| H A D | RewriteRule.h | 142 inline EditGenerator ifBound(std::string ID, ASTEdit TrueEdit, in ifBound() function 144 return ifBound(std::move(ID), edit(std::move(TrueEdit)), in ifBound() 150 inline EditGenerator ifBound(std::string ID, ASTEdit TrueEdit) { in ifBound() function 151 return ifBound(std::move(ID), edit(std::move(TrueEdit)), noEdits()); in ifBound()
|
| H A D | MatchConsumer.h | 47 MatchConsumer<T> ifBound(std::string ID, MatchConsumer<T> TrueC, in ifBound() function
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | StencilTest.cpp | 199 testExpr(Id, "3;", ifBound(Id, cat("5"), cat("7")), "5"); in TEST_F() 204 testExpr(Id, "3;", ifBound("other", cat("5"), cat("7")), "7"); in TEST_F() 711 R"repr(ifBound("Id", "trueText", access("exprId", "memberData")))repr"; in TEST() 747 R"repr(ifBound("x", "t", access("e", "f"))))repr"; in TEST() 765 ifBound("x", cat("t"), access("e", "f"))}); in TEST()
|
| H A D | TransformerTest.cpp | 496 using transformer::ifBound; in TEST_F() 500 ifBound("return", changeTo(cat("CHANGE;")))), in TEST_F() 505 using transformer::ifBound; in TEST_F() 509 ifBound("nothing", changeTo(cat("ERROR")), in TEST_F()
|
| H A D | RangeSelectorTest.cpp | 762 EXPECT_THAT_EXPECTED(select(ifBound(ID, node(ID), node(Op)), Match), in TEST() 774 EXPECT_THAT_EXPECTED(select(ifBound(ID, node(ID), node(Op)), Match), in TEST()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Transformer/ |
| H A D | Stencil.cpp | 471 Stencil transformer::ifBound(StringRef Id, Stencil TrueStencil, in ifBound() function in transformer
|