[llvm] Introduce paged vector (PR #66430)

Jakub Kuderski via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 15 10:17:24 PDT 2023


================
@@ -0,0 +1,84 @@
+//===- llvm/unittest/ADT/PagedVectorTest.cpp ------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+//
+// PagedVector unit tests.
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/ADT/PagedVector.h"
+#include "gtest/gtest.h"
+
+namespace llvm {
+TEST(PagedVectorTest, FunctionalityTest) {
----------------
kuhar wrote:

@ktf we have examples in other tests, grep for EXPECT_DEATH. IIRC this needs to be guarded with a define that checks if gtest supports death tests and NDEBUG.

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


More information about the llvm-commits mailing list