[Lldb-commits] [lldb] r248148 - Fix MSVC warings in DWARFExpression.cpp

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 21 03:24:59 PDT 2015


Author: tberghammer
Date: Mon Sep 21 05:24:59 2015
New Revision: 248148

URL: http://llvm.org/viewvc/llvm-project?rev=248148&view=rev
Log:
Fix MSVC warings in DWARFExpression.cpp

Modified:
    lldb/trunk/source/Expression/DWARFExpression.cpp

Modified: lldb/trunk/source/Expression/DWARFExpression.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/DWARFExpression.cpp?rev=248148&r1=248147&r2=248148&view=diff
==============================================================================
--- lldb/trunk/source/Expression/DWARFExpression.cpp (original)
+++ lldb/trunk/source/Expression/DWARFExpression.cpp Mon Sep 21 05:24:59 2015
@@ -3013,8 +3013,9 @@ DWARFExpression::AddressRangeForLocation
                     // Not supported entry type
                     return false;
             }
-            return true;
     }
+    assert (false && "Not supported location list type");
+    return false;
 }
 
 static bool




More information about the lldb-commits mailing list