Author: rsmith Date: Thu Aug 24 18:55:50 2017 New Revision: 311746 URL: http://llvm.org/viewvc/llvm-project?rev=311746&view=rev Log: Fix MSVC bots which include '__attribute__((thiscall))' in pretty-printed member function types.
We really shouldn't be including inferred calling conventions here, but let's get the bots green first... Modified: cfe/trunk/test/SemaCXX/cxx2a-pointer-to-const-ref-member.cpp Modified: cfe/trunk/test/SemaCXX/cxx2a-pointer-to-const-ref-member.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/cxx2a-pointer-to-const-ref-member.cpp?rev=311746&r1=311745&r2=311746&view=diff ============================================================================== --- cfe/trunk/test/SemaCXX/cxx2a-pointer-to-const-ref-member.cpp (original) +++ cfe/trunk/test/SemaCXX/cxx2a-pointer-to-const-ref-member.cpp Thu Aug 24 18:55:50 2017 @@ -9,6 +9,6 @@ void test() { X{}.ref(); // expected-error{{cannot initialize object parameter of type 'X' with an expression of type 'X'}} X{}.cref(); // expected-no-error - (X{}.*&X::ref)(); // expected-error{{pointer-to-member function type 'void (X::*)() &' can only be called on an lvalue}} + (X{}.*&X::ref)(); // expected-error-re{{pointer-to-member function type 'void (X::*)() {{.*}}&' can only be called on an lvalue}} (X{}.*&X::cref)(); // expected-no-error } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits