#include "llvm/ADT/Sequence.h"
#include "llvm/ADT/STLExtras.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <algorithm>
#include <numeric>
usingnamespacellvm;
ElementsAre;
IsEmpty;
namespace …
namespace llvm {
template <> struct enum_iteration_traits<UntypedEnum> { … };
template <> struct enum_iteration_traits<TypedEnum> { … };
template <> struct enum_iteration_traits<X::ScopedEnum> { … };
template <> struct enum_iteration_traits<S::NestedEnum> { … };
template <> struct enum_iteration_traits<S::NestedEnum3> { … };
}
namespace {
TEST(StrongIntTest, Enums) { … }
TEST(SequenceTest, IterableEnums) { … }
TEST(SequenceTest, NonIterableEnums) { … }
TEST(SequenceTest, CorrectReferenceType) { … }
}