[clang] ac677e6 - [OpenCL] Relax test implicit members in C++ for OpenCL
Ole Strohm via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 10 02:23:22 PDT 2021
Author: Ole Strohm
Date: 2021-06-10T10:18:52+01:00
New Revision: ac677e69bdfc84fc64bfbc83977282d5c5223206
URL: https://github.com/llvm/llvm-project/commit/ac677e69bdfc84fc64bfbc83977282d5c5223206
DIFF: https://github.com/llvm/llvm-project/commit/ac677e69bdfc84fc64bfbc83977282d5c5223206.diff
LOG: [OpenCL] Relax test implicit members in C++ for OpenCL
Addresses the issue from a comment in D103252
Relaxes the test to account for some targets with added attributes
to inside the pattern.
Added:
Modified:
clang/test/AST/ast-dump-implicit-members.clcpp
Removed:
################################################################################
diff --git a/clang/test/AST/ast-dump-implicit-members.clcpp b/clang/test/AST/ast-dump-implicit-members.clcpp
index 5e1eb7c48c2a9..f80211e1f33d4 100644
--- a/clang/test/AST/ast-dump-implicit-members.clcpp
+++ b/clang/test/AST/ast-dump-implicit-members.clcpp
@@ -7,8 +7,8 @@ void f() {
i = i;
}
-// CHECK: CXXConstructorDecl {{.*}} implicit used constexpr S 'void () __generic noexcept'
-// CHECK: CXXConstructorDecl {{.*}} implicit constexpr S 'void (const __generic S &) __generic'
-// CHECK: CXXConstructorDecl {{.*}} implicit constexpr S 'void (__generic S &&) __generic'
-// CHECK: CXXMethodDecl {{.*}} implicit used constexpr operator= '__generic S &(const __generic S &) __generic noexcept'
-// CHECK: CXXMethodDecl {{.*}} implicit constexpr operator= '__generic S &(__generic S &&) __generic'
+// CHECK: CXXConstructorDecl {{.*}} implicit used constexpr S 'void (){{.*}} __generic noexcept'
+// CHECK: CXXConstructorDecl {{.*}} implicit constexpr S 'void (const __generic S &){{.*}} __generic'
+// CHECK: CXXConstructorDecl {{.*}} implicit constexpr S 'void (__generic S &&){{.*}} __generic'
+// CHECK: CXXMethodDecl {{.*}} implicit used constexpr operator= '__generic S &(const __generic S &){{.*}} __generic noexcept'
+// CHECK: CXXMethodDecl {{.*}} implicit constexpr operator= '__generic S &(__generic S &&){{.*}} __generic'
More information about the cfe-commits
mailing list