commit | f94e179172b82f9692eefb2e11ad80f116b5ba16 | [log] [tgz] |
---|---|---|
author | Jim Ingham <jingham@apple.com> | Sat Aug 11 00:35:26 2012 +0000 |
committer | Jim Ingham <jingham@apple.com> | Sat Aug 11 00:35:26 2012 +0000 |
tree | b904343d1eac036a574d3e5d56ce983d03871c22 | |
parent | d6551dc0bf74c902bee3082f2ea6b6b5bfc41e28 [diff] [blame] |
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 ()