[libcxx-commits] [libcxx] 415d676 - [libcxx] Fix a missed instance of _LIBCPP_NO_UNIQUE_ADDRESS

Martin Storsjö via libcxx-commits libcxx-commits at lists.llvm.org
Fri Feb 11 14:45:08 PST 2022


Author: Martin Storsjö
Date: 2022-02-12T00:44:37+02:00
New Revision: 415d6762964eebf2592d0a07baac828a4a56184a

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

LOG: [libcxx] Fix a missed instance of _LIBCPP_NO_UNIQUE_ADDRESS

This was missed in 8a0a706f096bf380d81b615c67ab1e1af1c377d3 (added
after that patch was made originally).

Added: 
    

Modified: 
    libcxx/include/__algorithm/in_fun_result.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__algorithm/in_fun_result.h b/libcxx/include/__algorithm/in_fun_result.h
index db952aea701a9..d5186e11b7ea4 100644
--- a/libcxx/include/__algorithm/in_fun_result.h
+++ b/libcxx/include/__algorithm/in_fun_result.h
@@ -25,8 +25,8 @@ _LIBCPP_BEGIN_NAMESPACE_STD
 namespace ranges {
 template <class _Ip, class _Fp>
 struct in_fun_result {
-  [[no_unique_address]] _Ip in;
-  [[no_unique_address]] _Fp fun;
+  _LIBCPP_NO_UNIQUE_ADDRESS _Ip in;
+  _LIBCPP_NO_UNIQUE_ADDRESS _Fp fun;
 
   template <class _I2, class _F2>
     requires convertible_to<const _Ip&, _I2> && convertible_to<const _Fp&, _F2>


        


More information about the libcxx-commits mailing list