diff --git a/clang/include/clang/Sema/Sema.h b/clang/include/clang/Sema/Sema.h index a6010944aabb..1cfc45bcf62f 100644 --- a/clang/include/clang/Sema/Sema.h +++ b/clang/include/clang/Sema/Sema.h @@ -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();