From: Alexander Kornienko Date: Sat, 3 Dec 2022 22:58:37 +0000 (+0100) Subject: Remove a useless temporary of a base class type. X-Git-Tag: upstream/17.0.6~25427 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c95922c717973889ee669066abfc2e8be07050bf;p=platform%2Fupstream%2Fllvm.git 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 --- diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp index d8c6fced..39adb42 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();