llvm/llvm/unittests/ADT/BumpPtrListTest.cpp

//===- unittests/ADT/BumpPtrListTest.cpp - BumpPtrList unit tests ---------===//
//
// 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 "llvm/ADT/AllocatorList.h"
#include "llvm/ADT/STLExtras.h"
#include "gtest/gtest.h"

usingnamespacellvm;

namespace {

struct CountsDestructors {};
unsigned CountsDestructors::NumCalls =;

struct MoveOnly {};

struct EmplaceOnly {};

TEST(BumpPtrListTest, DefaultConstructor) {}

TEST(BumpPtrListTest, pushPopBack) {}

TEST(BumpPtrListTest, pushPopFront) {}

TEST(BumpPtrListTest, pushBackMoveOnly) {}

TEST(BumpPtrListTest, pushFrontMoveOnly) {}

TEST(BumpPtrListTest, emplaceBack) {}

TEST(BumpPtrListTest, emplaceFront) {}

TEST(BumpPtrListTest, swap) {}

TEST(BumpPtrListTest, clear) {}

TEST(BumpPtrListTest, move) {}

TEST(BumpPtrListTest, moveCallsDestructors) {}

TEST(BumpPtrListTest, copy) {}

TEST(BumpPtrListTest, copyCallsDestructors) {}

TEST(BumpPtrListTest, resetAlloc) {}

} // end namespace