forked from OSchip/llvm-project
Fixed an case fall through that wasn't meant to happen. Caught by clang's unannotated case fall through warning.
llvm-svn: 263826
This commit is contained in:
parent
075ed3eec1
commit
6a41dae468
|
@ -435,15 +435,16 @@ DWARFASTParserJava::CompleteTypeFromDWARF(const DWARFDIE &die, lldb_private::Typ
|
|||
switch (die.Tag())
|
||||
{
|
||||
case DW_TAG_class_type:
|
||||
{
|
||||
if (die.GetAttributeValueAsUnsigned(DW_AT_declaration, 0) == 0)
|
||||
{
|
||||
if (die.HasChildren())
|
||||
ParseChildMembers(die, java_type);
|
||||
m_ast.CompleteObjectType(java_type);
|
||||
return java_type.IsValid();
|
||||
if (die.GetAttributeValueAsUnsigned(DW_AT_declaration, 0) == 0)
|
||||
{
|
||||
if (die.HasChildren())
|
||||
ParseChildMembers(die, java_type);
|
||||
m_ast.CompleteObjectType(java_type);
|
||||
return java_type.IsValid();
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
assert(false && "Not a forward java type declaration!");
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue