17#ifndef FORTRAN_COMMON_MATHOPTIONSBASE_H
18#define FORTRAN_COMMON_MATHOPTIONSBASE_H
24#define ENUM_MATHOPT(Name, Type, Bits, Default) \
25 Type get##Name() const { return static_cast<Type>(Name); } \
26 MathOptionsBase &set##Name(Type Value) { \
27 Name = static_cast<unsigned>(Value); \
30#include "flang/Common/MathOptionsBase.def"
33#define ENUM_MATHOPT(Name, Type, Bits, Default) set##Name(Default);
34#include "flang/Common/MathOptionsBase.def"
38#define ENUM_MATHOPT(Name, Type, Bits, Default) unsigned Name : Bits;
39#include "flang/Common/MathOptionsBase.def"
Definition: MathOptionsBase.h:22
Definition: bit-population-count.h:20