diff options
| author | Greg Clayton <gclayton@apple.com> | 2016-03-18 20:36:30 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2016-03-18 20:36:30 +0000 |
| commit | 6a41dae468b828f949d1cf3752fc211dbd773661 (patch) | |
| tree | 48c061fad3a5144312c832c5897f21c60afca117 /lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp | |
| parent | 075ed3eec1b13719dfd0bcb80ef2b51b9065fc61 (diff) | |
| download | bcm5719-llvm-6a41dae468b828f949d1cf3752fc211dbd773661.tar.gz bcm5719-llvm-6a41dae468b828f949d1cf3752fc211dbd773661.zip | |
Fixed an case fall through that wasn't meant to happen. Caught by clang's unannotated case fall through warning.
llvm-svn: 263826
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp')
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp index 9be2a9eee28..a12654996f7 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp @@ -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; |

