[Lldb-commits] [lldb] c95922c - Remove a useless temporary of a base class type.

Alexander Kornienko via lldb-commits lldb-commits at lists.llvm.org
Sat Dec 3 15:01:28 PST 2022


Author: Alexander Kornienko
Date: 2022-12-04T00:01:22+01:00
New Revision: c95922c717973889ee669066abfc2e8be07050bf

URL: https://github.com/llvm/llvm-project/commit/c95922c717973889ee669066abfc2e8be07050bf
DIFF: https://github.com/llvm/llvm-project/commit/c95922c717973889ee669066abfc2e8be07050bf.diff

LOG: 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

Added: 
    

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

Removed: 
    


################################################################################
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>();


        


More information about the lldb-commits mailing list