r250691 - Fix 'will be initialized after' warning.

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 19 01:43:46 PDT 2015


Author: klimek
Date: Mon Oct 19 03:43:46 2015
New Revision: 250691

URL: http://llvm.org/viewvc/llvm-project?rev=250691&view=rev
Log:
Fix 'will be initialized after' warning.

Modified:
    cfe/trunk/lib/CodeGen/TargetInfo.cpp

Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=250691&r1=250690&r2=250691&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Mon Oct 19 03:43:46 2015
@@ -852,8 +852,8 @@ public:
     : ABIInfo(CGT), IsDarwinVectorABI(DarwinVectorABI),
       IsRetSmallStructInRegABI(RetSmallStructInRegABI), 
       IsWin32StructABI(Win32StructABI),
-      DefaultNumRegisterParameters(NumRegisterParameters),
-      IsSoftFloatABI(SoftFloatABI) {}
+      IsSoftFloatABI(SoftFloatABI),
+      DefaultNumRegisterParameters(NumRegisterParameters) {}
 };
 
 class X86_32TargetCodeGenInfo : public TargetCodeGenInfo {




More information about the cfe-commits mailing list