[clang] [Clang][AST] Add Test Cases for Reference Qualifiers in Opr Overload (PR #102878)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 12 04:39:34 PDT 2024


================
@@ -54,4 +54,18 @@ struct B {
   void operator delete(void*) volatile; //expected-error {{static member function cannot have 'volatile' qualifier}}
   void operator delete[](void*) volatile; //expected-error {{static member function cannot have 'volatile' qualifier}}
 };
+
+struct C {
----------------
zwuis wrote:

```suggestion
struct GH102422 {
```

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


More information about the cfe-commits mailing list