Author: Michael Buch Date: 2025-02-07T09:30:27Z New Revision: 7aeae7379d430404499f2929ffeea9416575a091
URL: https://github.com/llvm/llvm-project/commit/7aeae7379d430404499f2929ffeea9416575a091 DIFF: https://github.com/llvm/llvm-project/commit/7aeae7379d430404499f2929ffeea9416575a091.diff LOG: [lldb][TypeSystemClang] Fix typo in assertion This was meant to assert that we have the same number of names as we do formal parameter types (since callers of this API rely on this being true). Added: Modified: lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp Removed: ################################################################################ diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp index 05625925d7cae37..39296ba5b437fe6 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp @@ -3190,7 +3190,7 @@ void DWARFASTParserClang::ParseChildParameters( } } - assert(function_param_names.size() == function_param_names.size()); + assert(function_param_names.size() == function_param_types.size()); } clang::Decl *DWARFASTParserClang::GetClangDeclForDIE(const DWARFDIE &die) { _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits