diff options
author | Sean Callanan <scallanan@apple.com> | 2016-08-26 23:48:03 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2016-08-26 23:48:03 +0000 |
commit | 950e4ce8fc9646e6198c0ec8802aa101b9a50d06 (patch) | |
tree | 6e326fa803ee51542fe91713636649abe1ac9e86 | |
parent | 26a462877b325db106e3a08cdd0dbda5533913a5 (diff) | |
download | bcm5719-llvm-950e4ce8fc9646e6198c0ec8802aa101b9a50d06.tar.gz bcm5719-llvm-950e4ce8fc9646e6198c0ec8802aa101b9a50d06.zip |
Fixed a bad lldbassert() condition.
llvm-svn: 279884
-rw-r--r-- | lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp index bb5c8a0076a..dd8be5ddffc 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp @@ -277,7 +277,7 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope, target_sp = exe_scope->CalculateTarget(); if (!target_sp) { - lldb_assert(exe_scope, "Can't make an expression parser with a null target.", __FUNCTION__, __FILE__, __LINE__); + lldb_assert(target_sp.get(), "Can't make an expression parser with a null target.", __FUNCTION__, __FILE__, __LINE__); return; } |