mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
10dc6744b4
`EnumTraits.h` is not model-specific.
16 lines
284 B
C++
16 lines
284 B
C++
#pragma once
|
|
|
|
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
#include <cstdlib>
|
|
|
|
#include "llvm/ADT/StringRef.h"
|
|
|
|
template<typename T>
|
|
inline constexpr size_t EnumElementsCount = 0;
|
|
|
|
template<typename Enum>
|
|
inline llvm::StringRef getEnumName();
|