mirror of
https://github.com/intel/llvm.git
synced 2026-01-22 23:49:22 +08:00
Add explicit braces to quiet the "avoid dangling else" warning from clang.
llvm-svn: 187137
This commit is contained in:
@@ -799,10 +799,12 @@ DWARFDebugInfoEntry::GetDIENamesAndRanges
|
||||
case DW_AT_high_pc:
|
||||
hi_pc = form_value.Unsigned();
|
||||
if (form_value.Form() != DW_FORM_addr)
|
||||
{
|
||||
if (lo_pc == LLDB_INVALID_ADDRESS)
|
||||
do_offset = hi_pc != LLDB_INVALID_ADDRESS;
|
||||
else
|
||||
hi_pc += lo_pc; // DWARF 4 introduces <offset-from-lo-pc> to save on relocations
|
||||
}
|
||||
break;
|
||||
|
||||
case DW_AT_ranges:
|
||||
|
||||
Reference in New Issue
Block a user