[Lldb-commits] [lldb] [lldb] Support MS style `struct`/`class` in C++ name parser (PR #196525)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 30 01:06:48 PDT 2026


================
@@ -34,6 +34,13 @@ TEST(CPlusPlusLanguage, MethodNameParsing) {
        "foo::bar"},
       {"int foo::bar::func01(int a, double b)", "int", "foo::bar", "func01",
        "(int a, double b)", "", "foo::bar::func01"},
+      {"foo(struct AStruct)", "", "", "foo", "(struct AStruct)", "", "foo"},
----------------
Michael137 wrote:

I vaguely remember someone trying to make `CPlusPlusNameParser` be aware of the keywords in the current frame. Though i forget whether that ever landed

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


More information about the lldb-commits mailing list