mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
74217b4fe5
Model classes are now described by a YAML document, which is used to generate C++ headers containing classes and all the boilerplate required for YAML serialization/deserialization, usage in SortedVectors, etc. See the README in include/revng/Model for more info.
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();
|