Skip to content

Commit 7aeae73

Browse files
committed
[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).
1 parent e00fc80 commit 7aeae73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3190,7 +3190,7 @@ void DWARFASTParserClang::ParseChildParameters(
31903190
}
31913191
}
31923192

3193-
assert(function_param_names.size() == function_param_names.size());
3193+
assert(function_param_names.size() == function_param_types.size());
31943194
}
31953195

31963196
clang::Decl *DWARFASTParserClang::GetClangDeclForDIE(const DWARFDIE &die) {

0 commit comments

Comments
 (0)