Default member initializers are permitted since r236244.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240142
91177308-0d34-0410-b5e6-
96231b3b80d8
struct MachineFunction {
StringRef Name;
- unsigned Alignment;
- bool ExposesReturnsTwice;
- bool HasInlineAsm;
-
- MachineFunction() {
- Alignment = 0;
- ExposesReturnsTwice = false;
- HasInlineAsm = false;
- }
+ unsigned Alignment = 0;
+ bool ExposesReturnsTwice = false;
+ bool HasInlineAsm = false;
};
template <> struct MappingTraits<MachineFunction> {