]> granicus.if.org Git - clang/commitdiff
Silene -Wreorder warning.
authorRoman Divacky <rdivacky@freebsd.org>
Mon, 15 Dec 2014 21:41:59 +0000 (21:41 +0000)
committerRoman Divacky <rdivacky@freebsd.org>
Mon, 15 Dec 2014 21:41:59 +0000 (21:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224279 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Sema/Sema.h

index a6010944aabb17460e2848754f411605f0cbca5f..1cfc45bcf62f8dfaae5c171e2e60110f82134d1c 100644 (file)
@@ -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();