[Lldb-commits] [lldb] r190069 - OptionValueProperties::DeepCopy (): return empty value to avoid compilation error on MSVC (even if assert).

Virgile Bello virgile.bello at gmail.com
Thu Sep 5 09:57:49 PDT 2013


Author: xen2
Date: Thu Sep  5 11:57:48 2013
New Revision: 190069

URL: http://llvm.org/viewvc/llvm-project?rev=190069&view=rev
Log:
OptionValueProperties::DeepCopy (): return empty value to avoid compilation error on MSVC (even if assert).

Modified:
    lldb/trunk/source/Interpreter/OptionValueProperties.cpp

Modified: lldb/trunk/source/Interpreter/OptionValueProperties.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/OptionValueProperties.cpp?rev=190069&r1=190068&r2=190069&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/OptionValueProperties.cpp (original)
+++ lldb/trunk/source/Interpreter/OptionValueProperties.cpp Thu Sep  5 11:57:48 2013
@@ -651,6 +651,7 @@ lldb::OptionValueSP
 OptionValueProperties::DeepCopy () const
 {
     assert(!"this shouldn't happen");
+    return lldb::OptionValueSP();
 }
 
 const Property *





More information about the lldb-commits mailing list