llvm/mlir/unittests/TableGen/EnumsGenTest.cpp

//===- EnumsGenTest.cpp - TableGen EnumsGen 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 "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/MLIRContext.h"
#include "mlir/Support/LLVM.h"

#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/StringExtras.h"

#include "gmock/gmock.h"

#include <type_traits>

/// Pull in generated enum utility declarations and definitions.
#include "EnumsGenTest.h.inc"

#include "EnumsGenTest.cpp.inc"

/// Test namespaces and enum class/utility names.
ConvertToEnum;
ConvertToString;
FooEnum;

TEST(EnumsGenTest, GeneratedStrEnumDefinition) {}

TEST(EnumsGenTest, GeneratedI32EnumDefinition) {}

TEST(EnumsGenTest, GeneratedDenseMapInfo) {}

TEST(EnumsGenTest, GeneratedSymbolToStringFn) {}

TEST(EnumsGenTest, GeneratedStringToSymbolFn) {}

TEST(EnumsGenTest, GeneratedUnderlyingType) {}

TEST(EnumsGenTest, GeneratedBitEnumDefinition) {}

TEST(EnumsGenTest, GeneratedSymbolToStringFnForBitEnum) {}

TEST(EnumsGenTest, GeneratedStringToSymbolForBitEnum) {}

TEST(EnumsGenTest, GeneratedSymbolToStringFnForGroupedBitEnum) {}

TEST(EnumsGenTest, GeneratedStringToSymbolForGroupedBitEnum) {}

TEST(EnumsGenTest, GeneratedSymbolToStringFnForPrimaryGroupBitEnum) {}

TEST(EnumsGenTest, GeneratedOperator) {}

TEST(EnumsGenTest, GeneratedSymbolToCustomStringFn) {}

TEST(EnumsGenTest, GeneratedCustomStringToSymbolFn) {}

TEST(EnumsGenTest, GeneratedIntAttributeClass) {}

TEST(EnumsGenTest, GeneratedBitAttributeClass) {}