| commit | 09ad8c8f73dbc64efada18e7ae2f9b64eb1be215 | [log] [tgz] |
|---|---|---|
| author | Jonas Devlieghere <jonas@devlieghere.com> | Fri May 24 00:44:33 2019 +0000 |
| committer | Jonas Devlieghere <jonas@devlieghere.com> | Fri May 24 00:44:33 2019 +0000 |
| tree | 58cbfec2928c0ff577927df4c7096d141069da4f | |
| parent | 060f4b48d55c761de2722c0b7387966d1e8ede0c [diff] [blame] |
Fix integer literals which are cast to bool This change replaces built-in types that are implicitly converted to booleans. Differential revision: https://reviews.llvm.org/D62284 llvm-svn: 361580
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp index c692e8b..2871017 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
@@ -2104,7 +2104,7 @@ if (die.Tag() == DW_TAG_inlined_subroutine) { inlined_die = die; - while (1) { + while (true) { die = die.GetParent(); if (die) {