[libcxx-commits] [libcxx] 2d7bb01 - [NFC][libc++] Removes incorrect sliceExpr friend.
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Apr 15 08:03:28 PDT 2023
Author: Mark de Wever
Date: 2023-04-15T17:01:38+02:00
New Revision: 2d7bb01840067d2b9f6b02bd633ca914d513544b
URL: https://github.com/llvm/llvm-project/commit/2d7bb01840067d2b9f6b02bd633ca914d513544b
DIFF: https://github.com/llvm/llvm-project/commit/2d7bb01840067d2b9f6b02bd633ca914d513544b.diff
LOG: [NFC][libc++] Removes incorrect sliceExpr friend.
There is no type named sliceExpr, so it's likely a misspelling of
either slice_array or __slice_expr. Neither of which appear to
need the friend declaration.
This may indicate a unimplemented bit of `<valarray`, but ¯\_(ツ)_/¯
Nobody uses it anyway.
(Commit message provided by @EricWF.)
This reverts commit e13c43b229527234ec99f7f03aff3e1560c259c8.
Added:
Modified:
libcxx/include/valarray
Removed:
################################################################################
diff --git a/libcxx/include/valarray b/libcxx/include/valarray
index c5ed1525e6137..76ae4a3f8c668 100644
--- a/libcxx/include/valarray
+++ b/libcxx/include/valarray
@@ -1328,7 +1328,6 @@ private:
{}
template <class> friend class valarray;
- template <class> friend class sliceExpr;
};
template <class _Tp>
More information about the libcxx-commits
mailing list