From 1dbc09363a03be45163db9526895ba16b14ba7c6 Mon Sep 17 00:00:00 2001 From: Jacob Bandes-Storch Date: Sun, 31 Dec 2017 05:13:03 +0000 Subject: Reverted 321592: [Sema] Improve diagnostics for const- and ref-qualified member functions A few tests need to be fixed llvm-svn: 321593 --- clang/test/SemaCXX/copy-initialization.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/SemaCXX/copy-initialization.cpp') diff --git a/clang/test/SemaCXX/copy-initialization.cpp b/clang/test/SemaCXX/copy-initialization.cpp index cd7e5f07e14..4f6c65cf550 100644 --- a/clang/test/SemaCXX/copy-initialization.cpp +++ b/clang/test/SemaCXX/copy-initialization.cpp @@ -26,7 +26,7 @@ struct foo { }; // PR3600 -void test(const foo *P) { P->bar(); } // expected-error{{'this' argument to member function 'bar' has type 'const foo', but function is not marked const}} +void test(const foo *P) { P->bar(); } // expected-error{{'bar' not viable: 'this' argument has type 'const foo', but function is not marked const}} namespace PR6757 { struct Foo { -- cgit v1.2.3