diff options
| author | Greg Clayton <gclayton@apple.com> | 2013-07-25 18:29:25 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2013-07-25 18:29:25 +0000 |
| commit | c69e55bd480467de7b6a4824f2cd8f27172a539f (patch) | |
| tree | b53dd444d60d3aad16b6428a95ef207639d0c4e0 | |
| parent | e4daf52a634c983dbe793088a78547883188bcf4 (diff) | |
| download | bcm5719-llvm-c69e55bd480467de7b6a4824f2cd8f27172a539f.tar.gz bcm5719-llvm-c69e55bd480467de7b6a4824f2cd8f27172a539f.zip | |
Add explicit braces to quiet the "avoid dangling else" warning from clang.
llvm-svn: 187137
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp index f5fdb18032b..03c12e366f9 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp @@ -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: |

