forked from OSchip/llvm-project
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:
parent
38c6ad2deb
commit
85ee0cebf5
|
@ -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> {
|
||||
|
|
Loading…
Reference in New Issue