Remove a useless temporary of a base class type.
authorAlexander Kornienko <alexfh@google.com>
Sat, 3 Dec 2022 22:58:37 +0000 (23:58 +0100)
committerAlexander Kornienko <alexfh@google.com>
Sat, 3 Dec 2022 23:01:22 +0000 (00:01 +0100)
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

lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp

index d8c6fce..39adb42 100644 (file)
@@ -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>();