r181834 - Fix clang -Werror build due to -Wreorder violation introduced in r181825

David Blaikie dblaikie at gmail.com
Tue May 14 14:31:46 PDT 2013


Author: dblaikie
Date: Tue May 14 16:31:46 2013
New Revision: 181834

URL: http://llvm.org/viewvc/llvm-project?rev=181834&view=rev
Log:
Fix clang -Werror build due to -Wreorder violation introduced in r181825

Modified:
    cfe/trunk/lib/AST/MicrosoftMangle.cpp

Modified: cfe/trunk/lib/AST/MicrosoftMangle.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/MicrosoftMangle.cpp?rev=181834&r1=181833&r2=181834&view=diff
==============================================================================
--- cfe/trunk/lib/AST/MicrosoftMangle.cpp (original)
+++ cfe/trunk/lib/AST/MicrosoftMangle.cpp Tue May 14 16:31:46 2013
@@ -69,17 +69,17 @@ public:
   MicrosoftCXXNameMangler(MangleContext &C, raw_ostream &Out_)
     : Context(C), Out(Out_),
       Structor(0), StructorType(-1),
+      UseNameBackReferences(true),
       PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) ==
-                       64),
-      UseNameBackReferences(true) { }
+                       64) { }
 
   MicrosoftCXXNameMangler(MangleContext &C, raw_ostream &Out_,
                           const CXXDestructorDecl *D, CXXDtorType Type)
     : Context(C), Out(Out_),
       Structor(getStructor(D)), StructorType(Type),
+      UseNameBackReferences(true),
       PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) ==
-                       64),
-      UseNameBackReferences(true) { }
+                       64) { }
 
   raw_ostream &getStream() const { return Out; }
 





More information about the cfe-commits mailing list