bader added inline comments.
================ Comment at: clang/test/SemaOpenCLCXX/address-space-templates.cl:60 + // Preserve the address space of the type in forwarding reference. + // CHECK: CXXMethodDecl {{.*}} operator() 'void (__private int &__private) const __generic' + foo4(i, [](auto&& x){;}); ---------------- This check fails on 32-bit Windows platform where compiler adds `__attribute__((thiscall))` both constructor and call operator. Something like this should fix the problem: ``` // CHECK: |-CXXConstructorDecl {{.*}} rep 'void (const __generic rep &__private){{.*}} __generic' // CHECK: CXXMethodDecl {{.*}} operator() 'void (__private int &__private){{.*}} const __generic' ``` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D95624/new/ https://reviews.llvm.org/D95624 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits