[libcxx-commits] [libcxx] e13c43b - Revert "[NFC][libc++] Removes sliceExpr friend."

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Sat Apr 15 08:01:31 PDT 2023


Author: Mark de Wever
Date: 2023-04-15T17:01:23+02:00
New Revision: e13c43b229527234ec99f7f03aff3e1560c259c8

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

LOG: Revert "[NFC][libc++] Removes sliceExpr friend."

This reverts commit d5193e34b81fb3e9c27aea541516112d8a5f708d.

Reverted at @EricWF's request so it can be relanded with a better commit
message.

Added: 
    

Modified: 
    libcxx/include/valarray

Removed: 
    


################################################################################
diff  --git a/libcxx/include/valarray b/libcxx/include/valarray
index 76ae4a3f8c668..c5ed1525e6137 100644
--- a/libcxx/include/valarray
+++ b/libcxx/include/valarray
@@ -1328,6 +1328,7 @@ private:
         {}
 
     template <class> friend class valarray;
+    template <class> friend class sliceExpr;
 };
 
 template <class _Tp>


        


More information about the libcxx-commits mailing list