[Lldb-commits] [lldb] r219913 - Add /* DISABLES CODE */ annotation before if (0) to mark it as intentional.

Jason Molenda jmolenda at apple.com
Thu Oct 16 01:07:20 PDT 2014


Author: jmolenda
Date: Thu Oct 16 03:07:20 2014
New Revision: 219913

URL: http://llvm.org/viewvc/llvm-project?rev=219913&view=rev
Log:
Add /* DISABLES CODE */ annotation before if (0) to mark it as intentional.


Modified:
    lldb/trunk/source/Target/Thread.cpp

Modified: lldb/trunk/source/Target/Thread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Thread.cpp?rev=219913&r1=219912&r2=219913&view=diff
==============================================================================
--- lldb/trunk/source/Target/Thread.cpp (original)
+++ lldb/trunk/source/Target/Thread.cpp Thu Oct 16 03:07:20 2014
@@ -1860,7 +1860,7 @@ Thread::ReturnFromFrame (lldb::StackFram
         
         // FIXME: ValueObject::Cast doesn't currently work correctly, at least not for scalars.
         // Turn that back on when that works.
-        if (0 && sc.function != NULL)
+        if (/* DISABLES CODE */ (0) && sc.function != NULL)
         {
             Type *function_type = sc.function->GetType();
             if (function_type)





More information about the lldb-commits mailing list