From: Alex Lorenz Date: Fri, 19 Jun 2015 17:36:02 +0000 (+0000) Subject: MIR Serialization: use default member initializers to initialize yaml::MachineFunctio... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=75708d8749595ba0635ab500dd37e1ac7e8fce67;p=oota-llvm.git MIR Serialization: use default member initializers to initialize yaml::MachineFunction. NFC. Default member initializers are permitted since r236244. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240142 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/MIRYamlMapping.h b/include/llvm/CodeGen/MIRYamlMapping.h index 9f5dbb701ba..f7118fe1e81 100644 --- a/include/llvm/CodeGen/MIRYamlMapping.h +++ b/include/llvm/CodeGen/MIRYamlMapping.h @@ -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 {