MIR Serialization: use default member initializers to initialize yaml::MachineFunction. NFC.

Default member initializers are permitted since r236244.

llvm-svn: 240142
This commit is contained in:
Alex Lorenz 2015-06-19 17:36:02 +00:00
parent 38c6ad2deb
commit 85ee0cebf5
1 changed files with 3 additions and 9 deletions

View File

@ -26,15 +26,9 @@ namespace yaml {
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> {