[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
================
@@ -96,3 +96,49 @@ namespace PR38286 {
template<typename> struct C; // expected-note {{non-type declaration found}}
template<typename T> C<T>::~C() {} // expected-error {{identifier 'C' after '~' in destructor name does not name a type}}
}
+
+namespace GH121706 {
----------------
cor3ntin wrote:
Can we test move/copy constructors?
https://github.com/llvm/llvm-project/pull/122621
More information about the cfe-commits
mailing list