summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2022-12-03 23:58:37 +0100
committerAlexander Kornienko <alexfh@google.com>2022-12-04 00:01:22 +0100
commitc95922c717973889ee669066abfc2e8be07050bf (patch)
tree011567f0c8fd08b3077422491aca682057258e12 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
parentbb7e31bccf4a26fc29809370fbbf5079f79584b3 (diff)
Remove a useless temporary of a base class type.
This was found by clang-tidy bugprone-undelegated-constructor check. Was there since the very first commit back in 2016. Reviewed By: clayborg, labath, srhines Differential Revision: https://reviews.llvm.org/D114111
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp')
-rw-r--r--lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
index d8c6fced0c6a..39adb42b645c 100644
--- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
+++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
@@ -175,7 +175,6 @@ bool RenderScriptRuntime::GetIRPasses(LLVMUserExpression::IRPasses &passes) {
namespace lldb_renderscript {
RSIRPasses::RSIRPasses(Process *process) {
- IRPasses();
assert(process);
EarlyPasses = std::make_shared<llvm::legacy::PassManager>();