[clang] [Clang] Static and explicit object member functions with the same parameter-type-lists (PR #93430)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Mon May 27 02:02:41 PDT 2024


================
@@ -0,0 +1,18 @@
+// RUN: %clang_cc1 -std=c++23 %s -ast-dump | FileCheck --check-prefixes=CXX23 %s
+
+namespace cwg2771 { // cwg2771: 18
+
+struct A{
+    int a;
+    void cwg2771(){
+      int* r = &a;
----------------
Endilll wrote:

You can use `#pragma clang __debug dump &a` to match less AST in FileCheck.

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


More information about the cfe-commits mailing list