Home
last modified time | relevance | path

Searched refs:testExpr (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang/unittests/Tooling/
DStencilTest.cpp161 void testExpr(StringRef Id, StringRef Snippet, const Stencil &Stencil, in testExpr() function
180 testExpr(Id, "3;", cat(node(std::string(Id))), "3"); in TEST_F()
185 testExpr(Id, "3;", ifBound(Id, cat("5"), cat("7")), "5"); in TEST_F()
190 testExpr(Id, "3;", ifBound("other", cat("5"), cat("7")), "7"); in TEST_F()
195 testExpr(Id, "3;", expression(Id), "3"); in TEST_F()
201 testExpr(Id, "(3);", expression(Id), "(3)"); in TEST_F()
206 testExpr(Id, "3+4;", expression(Id), "(3+4)"); in TEST_F()
220 testExpr(Id, "int *x; x;", deref(Id), "*x"); in TEST_F()
225 testExpr(Id, "int *x; x + 1;", deref(Id), "*(x + 1)"); in TEST_F()
230 testExpr(Id, "int x; &x;", deref(Id), "x"); in TEST_F()
[all …]
/external/skia/src/sksl/ir/
DSkSLTernaryExpression.cpp68 const Expression* testExpr = ConstantFolder::GetConstantValueForVariable(*test); in Make() local
69 if (testExpr->is<BoolLiteral>()) { in Make()
71 return testExpr->as<BoolLiteral>().value() ? std::move(ifTrue) in Make()
/external/clang/test/Misc/
Dast-dump-decl.cpp400 template<int, int = 0> class testExpr;
401 template<int I> class testExpr<I> { }; class
/external/llvm-project/clang/test/AST/
Dast-dump-decl.cpp699 template<int, int = 0> class testExpr;
700 template<int I> class testExpr<I> { }; class