9f755666fb
This replaces DEFINE_NESTED_ENUM_CLASS in parse-tree.h but works similarly. "ENUM_CLASS(Foo, A, B, C)" defined enum class Foo with enumerators A, B, C. It also defines an overloading of EnumToString that converts enumerators to their string representation. Change unparse.cc to adapt to this change. Make use of ENUM_CLASS in attr.h and attr.cc. Original-commit: flang-compiler/f18@c45b8f172a Reviewed-on: https://github.com/flang-compiler/f18/pull/31 |
||
---|---|---|
.. | ||
attr.cc | ||
attr.h | ||
CMakeLists.txt | ||
make-types.cc | ||
make-types.h | ||
resolve-names.cc | ||
scope.cc | ||
scope.h | ||
symbol.cc | ||
symbol.h | ||
type.cc | ||
type.h |