[libc-commits] [libc] [libc][CPP] Add all_of and find_if_not to algorithm.h (PR #94058)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Fri May 31 15:23:21 PDT 2024


================
@@ -0,0 +1,45 @@
+//===-- Unittests for Algorithm -------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "src/__support/CPP/algorithm.h"
+#include "src/__support/CPP/array.h"
+#include "test/UnitTest/Test.h"
+
+namespace LIBC_NAMESPACE::cpp {
+
----------------
michaelrj-google wrote:

nit: add a TODO and file an issue to add unit tests for the rest of `CPP/algorithm`

https://github.com/llvm/llvm-project/pull/94058


More information about the libc-commits mailing list