hokein added inline comments.

================
Comment at: clang/test/SemaCXX/copy-assignment.cpp:117
     A(UndeclaredType n) : X(n) {} // expected-error {{unknown type name 
'UndeclaredType'}}
+    // expected-error@-1 {{member initializer 'X' does not name a non-static 
data member or base class}}
   };
----------------
This is a bogus diagnostic "accidentally" caused by this change, this is an 
existing problem in clang where we discard ill-formed base specifier.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120812/new/

https://reviews.llvm.org/D120812

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to