llvm/llvm/unittests/ADT/BitmaskEnumTest.cpp

//===- llvm/unittest/ADT/BitmaskEnumTest.cpp - BitmaskEnum 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/BitmaskEnum.h"
#include "gtest/gtest.h"

usingnamespacellvm;

namespace {
enum Flags {};

static_assert;
static_assert;

enum Flags2 {};
} // namespace

llvm

static_assert;
static_assert;

namespace {
TEST(BitmaskEnumTest, BitwiseOr) {}

TEST(BitmaskEnumTest, BitwiseOrEquals) {}

TEST(BitmaskEnumTest, BitwiseAnd) {}

TEST(BitmaskEnumTest, BitwiseAndEquals) {}

TEST(BitmaskEnumTest, BitwiseXor) {}

TEST(BitmaskEnumTest, BitwiseXorEquals) {}

TEST(BitmaskEnumTest, ConstantExpression) {}

TEST(BitmaskEnumTest, BitwiseNot) {}

enum class FlagsClass {};

TEST(BitmaskEnumTest, ScopedEnum) {}

struct Container {};

TEST(BitmaskEnumTest, EnumInStruct) {}

} // namespace

namespace foo {
namespace bar {
namespace {
enum FlagsInNamespace {};
} // namespace
} // namespace foo
} // namespace bar

namespace {
TEST(BitmaskEnumTest, EnumInNamespace) {}
} // namespace