[Lldb-commits] [PATCH] Fixed bad return code, which would cause invalid expressions to silently fail.

Richard Mitton richard at codersnotes.com
Fri Oct 4 13:36:05 PDT 2013


Fixed bad return code, which would cause invalid expressions to silently fail.


http://llvm-reviews.chandlerc.com/D1842

Files:
  source/Expression/IRForTarget.cpp

Index: source/Expression/IRForTarget.cpp
===================================================================
--- source/Expression/IRForTarget.cpp
+++ source/Expression/IRForTarget.cpp
@@ -467,7 +467,7 @@
         if (log)
             log->PutCString("Couldn't find result variable");
         
-        return true;
+        return false;
     }
     
     if (log)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1842.1.patch
Type: text/x-patch
Size: 368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20131004/00be41e5/attachment.bin>


More information about the lldb-commits mailing list