mirror of
https://github.com/intel/llvm.git
synced 2026-01-30 22:53:05 +08:00
Fix an invalid static cast in ClangExpressionParser.cpp
This was found by the green dragon sanitizer bot. rdar://problem/48536644 Differential Revision: https://reviews.llvm.org/D59314 llvm-svn: 356090
This commit is contained in:
@@ -39,8 +39,10 @@ using namespace lldb;
|
||||
/// The name of the function, as used in the text.
|
||||
//------------------------------------------------------------------
|
||||
UtilityFunction::UtilityFunction(ExecutionContextScope &exe_scope,
|
||||
const char *text, const char *name)
|
||||
: Expression(exe_scope), m_execution_unit_sp(), m_jit_module_wp(),
|
||||
const char *text, const char *name,
|
||||
ExpressionKind kind)
|
||||
: Expression(exe_scope, kind),
|
||||
m_execution_unit_sp(), m_jit_module_wp(),
|
||||
m_function_text(),
|
||||
m_function_name(name) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user