https://github.com/tbaederr created 
https://github.com/llvm/llvm-project/pull/228083

None

>From 68af312752a630877b924a435434c590f2f1a3f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?= <[email protected]>
Date: Thu, 1 Oct 2026 15:51:07 +0200
Subject: [PATCH] [clang][bytecode][NFC] Remove unnecessary std::move call

---
 clang/lib/AST/ByteCode/Compiler.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/lib/AST/ByteCode/Compiler.cpp 
b/clang/lib/AST/ByteCode/Compiler.cpp
index 313687f538169c..9ad0c6831535d0 100644
--- a/clang/lib/AST/ByteCode/Compiler.cpp
+++ b/clang/lib/AST/ByteCode/Compiler.cpp
@@ -2709,7 +2709,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