[clang] ad3f7d2 - [clang][bytecode][test] Qualify a std::move call

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 21 00:58:10 PST 2025


Author: Timm Bäder
Date: 2025-02-21T09:57:16+01:00
New Revision: ad3f7d2c71b062dd1c2fb1fa78e81cc7b3ba53e9

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

LOG: [clang][bytecode][test] Qualify a std::move call

Try to fix the test failures introduced by 97ed2019c41f2c0208699ab3593b681487754d58

See https://github.com/llvm/llvm-project/pull/128141

Added: 
    

Modified: 
    clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp b/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp
index 475f7ffef4525..f70f412466543 100644
--- a/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp
+++ b/clang/test/AST/ByteCode/libcxx/primitive-temporary.cpp
@@ -165,7 +165,7 @@ using iter_value_t =
                   int>::value_type;
 namespace ranges {
 struct Trans_NS___iter_move___fn {
-  template <class _Ip> auto operator()(_Ip __i) const -> decltype(move(*(__i)));
+  template <class _Ip> auto operator()(_Ip __i) const -> decltype(std::move(*(__i)));
 };
 inline namespace {
 auto iter_move = Trans_NS___iter_move___fn{};


        


More information about the cfe-commits mailing list