[clang] [Clang] disallow the use of asterisks preceding constructor and destructor names (PR #122621)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 13 09:36:15 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<
----------------
erichkeane wrote:

I saw that!  I'm happy once Corentin is.

https://github.com/llvm/llvm-project/pull/122621


More information about the cfe-commits mailing list