[Lldb-commits] [lldb] [lldb][test] Add test for detecting CV-quals of explicit object member functions (PR #125053)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 30 04:08:33 PST 2025
================
@@ -0,0 +1,22 @@
+// XFAIL: *
+
+// Tests that we correctly deduce the CV-quals and storage
+// class of explicit object member functions.
+//
+// RUN: %clangxx_host %s -g -std=c++23 -c -o %t
+// RUN: %lldb %t -b -o "type lookup Foo" 2>&1 | FileCheck %s
+//
+// CHECK: (lldb) type lookup Foo
+// CHECK-NEXT: struct Foo {
+// CHECK-NEXT: void Method(Foo);
+// CHECK-NEXT: void cMethod(Foo const&);
+// CHECK-NEXT: void vMethod(Foo volatile&);
+// CHECK-NEXT: void cvMethod(const Foo volatile&) const volatile;
----------------
Michael137 wrote:
The representation here doesn't look right also. But that's a separate bug probably with the AST that LLDB creates
https://github.com/llvm/llvm-project/pull/125053
More information about the lldb-commits
mailing list