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' _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits