diff options
| author | Adrian Prantl <aprantl@apple.com> | 2019-03-13 19:46:30 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2019-03-13 19:46:30 +0000 |
| commit | 7e34d78da1a004072153fc8fe73ce18ba4e493a8 (patch) | |
| tree | f7ba5c7189253701e015faa23a57f5bf6393324a /lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp | |
| parent | 74a04e80c86cfe4b7e138b01fb0a0efd9b1ea5a2 (diff) | |
| download | bcm5719-llvm-7e34d78da1a004072153fc8fe73ce18ba4e493a8.tar.gz bcm5719-llvm-7e34d78da1a004072153fc8fe73ce18ba4e493a8.zip | |
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
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp')
| -rw-r--r-- | lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp index b53db7afa4b..780aefdf95f 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp @@ -40,7 +40,7 @@ using namespace lldb_private; //------------------------------------------------------------------ ClangUtilityFunction::ClangUtilityFunction(ExecutionContextScope &exe_scope, const char *text, const char *name) - : UtilityFunction(exe_scope, text, name) { + : UtilityFunction(exe_scope, text, name, eKindClangUtilityFunction) { m_function_text.assign(ClangExpressionSourceCode::g_expression_prefix); if (text && text[0]) m_function_text.append(text); |

