[clang] [Clang] disallow the use of asterisks preceding constructor and destructor names (PR #122621)
Oleksandr T. via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 13 09:35:25 PST 2025
================
@@ -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<
----------------
a-tarasyuk wrote:
@erichkeane I've combined them into one message.
https://github.com/llvm/llvm-project/pull/122621
More information about the cfe-commits
mailing list