[clang] [Clang] diagnose deleted/default redeclaration of defined friend functions (PR #136717)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 22 10:27:33 PDT 2025


https://github.com/Sirraide commented:

Some more test cases:
```c++
int a();
struct A { friend int a() = delete; };

struct B { friend int b(); };
struct C { friend int b() = delete; };
```

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


More information about the cfe-commits mailing list