summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangExpressionParser.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2013-05-15 18:27:08 +0000
committerJim Ingham <jingham@apple.com>2013-05-15 18:27:08 +0000
commit5c42d8a87ca7e3744c42926092444994595a688e (patch)
tree57817946defe1e672cc7923a01d220831ce13bcf /lldb/source/Expression/ClangExpressionParser.cpp
parent0f2a6fe613a6b5f196e84412baa1251a0b5e4ff0 (diff)
downloadbcm5719-llvm-5c42d8a87ca7e3744c42926092444994595a688e.tar.gz
bcm5719-llvm-5c42d8a87ca7e3744c42926092444994595a688e.zip
Fixed a few obvious errors pointed out by the static analyzer.
llvm-svn: 181911
Diffstat (limited to 'lldb/source/Expression/ClangExpressionParser.cpp')
-rw-r--r--lldb/source/Expression/ClangExpressionParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp
index 431900fbb28..765350ca989 100644
--- a/lldb/source/Expression/ClangExpressionParser.cpp
+++ b/lldb/source/Expression/ClangExpressionParser.cpp
@@ -550,7 +550,7 @@ ClangExpressionParser::PrepareForExecution (lldb::addr_t &func_addr,
if (execution_policy == eExecutionPolicyAlways || !can_interpret)
{
- if (!process->GetDynamicCheckers() && m_expr.NeedsValidation())
+ if (m_expr.NeedsValidation() && (process && (!process->GetDynamicCheckers())))
{
DynamicCheckerFunctions *dynamic_checkers = new DynamicCheckerFunctions();
OpenPOWER on IntegriCloud