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

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 27 04:45:06 PST 2025


================
@@ -3157,7 +3158,8 @@ bool DWARFASTParserClang::ParseChildMembers(
 void DWARFASTParserClang::ParseChildParameters(
     clang::DeclContext *containing_decl_ctx, const DWARFDIE &parent_die,
     bool &is_variadic, bool &has_template_params,
-    std::vector<CompilerType> &function_param_types) {
+    std::vector<CompilerType> &function_param_types,
+    llvm::SmallVector<llvm::StringRef> &function_param_names) {
----------------
labath wrote:

```suggestion
    llvm::SmallVectorImpl<llvm::StringRef> &function_param_names) {
```

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


More information about the lldb-commits mailing list