[Lldb-commits] [lldb] [lldb][TypeSystem] Ensure that ParmVarDecls have the correct DeclContext (PR #124279)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 6 11:06:32 PST 2025


================
@@ -3205,6 +3199,8 @@ void DWARFASTParserClang::ParseChildParameters(
       break;
     }
   }
+
+  assert(function_param_names.size() == function_param_names.size());
----------------
Michael137 wrote:

hah good catch! yea that's meant to say:
```
assert(function_param_types.size() == function_param_names.size());
```

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


More information about the lldb-commits mailing list