================
@@ -2223,6 +2225,8 @@ def err_destructor_not_member : Error<
 def err_destructor_cannot_be : Error<"destructor cannot be declared '%0'">;
 def err_invalid_qualified_destructor : Error<
   "'%0' qualifier is not allowed on a destructor">;
+def err_invalid_destructor_decl : Error<
----------------
erichkeane wrote:

IMO, we should 'combined' the two diagnostics into `err_invalid_ctor_dtor_decl 
: Error<"invalid %select{constructor|destructor}0 declaration>`

https://github.com/llvm/llvm-project/pull/122621
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to