From 1b55eb6b95f9332176b3ef5f708df4215beba99b Mon Sep 17 00:00:00 2001 From: Jonathan Lifflander Date: Wed, 29 Sep 2021 15:34:34 -0700 Subject: [PATCH] #1: add deep copy to require string pass --- src/transform.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/transform.cc b/src/transform.cc index d6a11ad..06dde5a 100644 --- a/src/transform.cc +++ b/src/transform.cc @@ -109,7 +109,10 @@ StatementMatcher EmpireCallMatcher = callExpr( callee( functionDecl( - matchesName("::empire::parallel_*") // hasName("::Kokkos::parallel_for") + anyOf( + matchesName("::empire::parallel_*"), + matchesName("::empire::deep_copy*") + ) ) ) ).bind("callExpr");