Author: Timm Baeder
Date: 2026-10-02T06:48:38+02:00
New Revision: 1aeecf7b46dc567da21e6d50f1a099a82c9e237d

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

LOG: [clang][bytecode][NFC] Remove unnecessary std::move call (#228083)

Added: 
    

Modified: 
    clang/lib/AST/ByteCode/Compiler.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/ByteCode/Compiler.cpp 
b/clang/lib/AST/ByteCode/Compiler.cpp
index 271dea71f0da2..6afb424936202 100644
--- a/clang/lib/AST/ByteCode/Compiler.cpp
+++ b/clang/lib/AST/ByteCode/Compiler.cpp
@@ -2718,7 +2718,7 @@ bool Compiler<Emitter>::visitCallArgs(ArrayRef<const Expr 
*> Args,
       }
 
       UnsignedOrNone LocalIndex =
-          allocateLocal(std::move(Source), Arg->getType(), ScopeKind::Call);
+          allocateLocal(Source, Arg->getType(), ScopeKind::Call);
       if (!LocalIndex)
         return false;
 


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to