diff options
-rw-r--r-- | clang/test/SemaOpenCLCXX/address-space-deduction.cl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/SemaOpenCLCXX/address-space-deduction.cl b/clang/test/SemaOpenCLCXX/address-space-deduction.cl index f66d224e254..08668951dbc 100644 --- a/clang/test/SemaOpenCLCXX/address-space-deduction.cl +++ b/clang/test/SemaOpenCLCXX/address-space-deduction.cl @@ -30,8 +30,8 @@ struct c2 { template <class T> struct x1 { -//CHECK: -CXXMethodDecl {{.*}} operator= 'x1<T> &(const x1<T> &) __generic' -//CHECK: -CXXMethodDecl {{.*}} operator= '__generic x1<int> &(const __generic x1<int> &) __generic' +//CHECK: -CXXMethodDecl {{.*}} operator= 'x1<T> &(const x1<T> &){{( __attribute__.*)?}} __generic' +//CHECK: -CXXMethodDecl {{.*}} operator= '__generic x1<int> &(const __generic x1<int> &){{( __attribute__.*)?}} __generic' x1<T>& operator=(const x1<T>& xx) { y = xx.y; return *this; @@ -41,8 +41,8 @@ struct x1 { template <class T> struct x2 { -//CHECK: -CXXMethodDecl {{.*}} foo 'void (x1<T> *) __generic' -//CHECK: -CXXMethodDecl {{.*}} foo 'void (__generic x1<int> *) __generic' +//CHECK: -CXXMethodDecl {{.*}} foo 'void (x1<T> *){{( __attribute__.*)?}} __generic' +//CHECK: -CXXMethodDecl {{.*}} foo 'void (__generic x1<int> *){{( __attribute__.*)?}} __generic' void foo(x1<T>* xx) { m[0] = *xx; } @@ -57,9 +57,9 @@ void bar(__global x1<int> *xx, __global x2<int> *bar) { template <typename T> class x3 : public T { public: - //CHECK: -CXXConstructorDecl {{.*}} x3<T> 'void (const x3<T> &) __generic' + //CHECK: -CXXConstructorDecl {{.*}} x3<T> 'void (const x3<T> &){{( __attribute__.*)?}} __generic' x3(const x3 &t); }; -//CHECK: -CXXConstructorDecl {{.*}} x3<T> 'void (const x3<T> &) __generic' +//CHECK: -CXXConstructorDecl {{.*}} x3<T> 'void (const x3<T> &){{( __attribute__.*)?}} __generic' template <typename T> x3<T>::x3(const x3<T> &t) {} |