llvm/flang
Tim Keith 9f755666fb [flang] Add ENUM_CLASS to define enum class with ToString function.
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
2018-03-23 14:41:48 -07:00
..
documentation [flang] Handle empty files gracefully. 2018-03-23 13:32:55 -07:00
include/flang [flang] Add missing include config file skeleton 2018-02-19 14:44:54 +01:00
lib [flang] Add ENUM_CLASS to define enum class with ToString function. 2018-03-23 14:41:48 -07:00
tools [flang] More f90_correct work. 2018-03-16 16:13:49 -07:00
.clang-format [flang] Tweaked .clang-format, then ran it. 2018-02-07 12:27:36 -08:00
.gitignore [flang] Development of character provenance. 2018-02-15 15:58:44 -08:00
CMakeLists.txt [flang] Add simple recursive CMake directory structure 2018-02-19 14:28:12 +01:00
Makefile [flang] Clean up Makefile, add reformat target. 2018-02-07 16:27:36 -08:00
README.md [flang] Revert "Schauveau cmake" 2018-02-14 09:06:47 -08:00

f18