r224279 - Silene -Wreorder warning.
    Roman Divacky 
    rdivacky at freebsd.org
       
    Mon Dec 15 13:41:59 PST 2014
    
    
  
Author: rdivacky
Date: Mon Dec 15 15:41:59 2014
New Revision: 224279
URL: http://llvm.org/viewvc/llvm-project?rev=224279&view=rev
Log:
Silene -Wreorder warning.
Modified:
    cfe/trunk/include/clang/Sema/Sema.h
Modified: cfe/trunk/include/clang/Sema/Sema.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/Sema.h?rev=224279&r1=224278&r2=224279&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/Sema.h (original)
+++ cfe/trunk/include/clang/Sema/Sema.h Mon Dec 15 15:41:59 2014
@@ -3111,7 +3111,7 @@ public:
   struct FunctionScopeRAII {
     Sema &S;
     bool Active;
-    FunctionScopeRAII(Sema &S) : Active(true), S(S) {}
+    FunctionScopeRAII(Sema &S) : S(S), Active(true) {}
     ~FunctionScopeRAII() {
       if (Active)
         S.PopFunctionScopeInfo();
    
    
More information about the cfe-commits
mailing list