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:
Greg Clayton 2016-03-18 20:36:30 +00:00
parent 075ed3eec1
commit 6a41dae468
1 changed files with 8 additions and 7 deletions

View File

@ -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;