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

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 13 06:25:15 PST 2025


================
@@ -764,6 +764,7 @@ Improvements to Clang's diagnostics
       scope.Unlock();
       require(scope); // Warning!  Requires mu1.
     }
+- Clang now disallows the use of asterisks preceding constructor and destructor names (#GH121706).
----------------
cor3ntin wrote:

```suggestion
- Diagnose invalid declarators in the declaration of constructors and destructors (#GH121706).
```

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


More information about the cfe-commits mailing list