Skip to content

Commit e06162f

Browse files
Michael137Icohedron
authored andcommitted
[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 0f3da17 commit e06162f

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)