================ @@ -124,8 +126,8 @@ void test() { #if _LIBCPP_HAS_EXCEPTIONS // expected-error-re@*:* {{call to deleted constructor of{{.*}}}} // expected-error-re@*:* {{call to deleted constructor of{{.*}}}} - // expected-error-re@*:* {{call to deleted constructor of{{.*}}}} - // expected-error-re@*:* {{call to deleted constructor of{{.*}}}} + // expected-error-re@*:* 0-1{{call to deleted constructor of{{.*}}}} + // expected-error-re@*:* 0-1{{call to deleted constructor of{{.*}}}} ---------------- egorshamshura wrote:
In older versions of Clang, there were 4 errors displayed: ```{{call to deleted constructor of{{.*}}}}```, but in the new version there are 6 errors. When I added ```{{call to deleted constructor of 'MoveOnly'}}```, one of the errors ```{{call to deleted constructor of{{.*}}}}``` was taken away, so I needed to add "0-1" here. https://github.com/llvm/llvm-project/pull/144220 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits