From 950e4ce8fc9646e6198c0ec8802aa101b9a50d06 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Fri, 26 Aug 2016 23:48:03 +0000 Subject: Fixed a bad lldbassert() condition. llvm-svn: 279884 --- lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/ExpressionParser') 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; } -- cgit v1.2.3