#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) { … }
}