#include "llvm/ADT/FoldingSet.h"
#include "gtest/gtest.h"
#include <string>
usingnamespacellvm;
namespace {
TEST(FoldingSetTest, UnalignedStringTest) { … }
TEST(FoldingSetTest, LongLongComparison) { … }
struct TrivialPair : public FoldingSetNode { … };
TEST(FoldingSetTest, IDComparison) { … }
TEST(FoldingSetTest, MissedIDComparison) { … }
TEST(FoldingSetTest, RemoveNodeThatIsPresent) { … }
TEST(FoldingSetTest, RemoveNodeThatIsAbsent) { … }
TEST(FoldingSetTest, GetOrInsertInserting) { … }
TEST(FoldingSetTest, GetOrInsertGetting) { … }
TEST(FoldingSetTest, InsertAtPos) { … }
TEST(FoldingSetTest, EmptyIsTrue) { … }
TEST(FoldingSetTest, EmptyIsFalse) { … }
TEST(FoldingSetTest, ClearOnEmpty) { … }
TEST(FoldingSetTest, ClearOnNonEmpty) { … }
TEST(FoldingSetTest, CapacityLargerThanReserve) { … }
TEST(FoldingSetTest, SmallReserveChangesNothing) { … }
}