Add explicit casts to bool in "shared pointer is valid" constructs that return bool.

llvm-svn: 161719
diff --git a/lldb/source/Expression/IRInterpreter.cpp b/lldb/source/Expression/IRInterpreter.cpp
index 5d2c097..5c09e6d 100644
--- a/lldb/source/Expression/IRInterpreter.cpp
+++ b/lldb/source/Expression/IRInterpreter.cpp
@@ -159,7 +159,7 @@
         
         bool IsValid ()
         {
-            return m_allocation;
+            return (bool) m_allocation;
         }
         
         bool IsInvalid ()