From: Faisal Vali Date: Mon, 21 Mar 2016 10:37:42 +0000 (+0000) Subject: Reorder data members to be consistent with member initializers, to silence warnings. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ed4e4e6b0acc91864733d7d31b8287619b4f27ae;p=clang Reorder data members to be consistent with member initializers, to silence warnings. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263922 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Sema/ScopeInfo.h b/include/clang/Sema/ScopeInfo.h index 639d87d6db..0ec59cd380 100644 --- a/include/clang/Sema/ScopeInfo.h +++ b/include/clang/Sema/ScopeInfo.h @@ -422,11 +422,6 @@ public: enum CaptureKind { Cap_ByCopy, Cap_ByRef, Cap_Block, Cap_VLA }; - /// Expression to initialize a field of the given type, and the kind of - /// capture (if this is a capture and not an init-capture). The expression - /// is only required if we are capturing ByVal and the variable's type has - /// a non-trivial copy constructor. - llvm::PointerIntPair InitExprAndCaptureKind; enum { IsNestedCapture = 0x1, IsThisCaptured = 0x2 @@ -434,7 +429,12 @@ public: /// The variable being captured (if we are not capturing 'this') and whether /// this is a nested capture, and whether we are capturing 'this' llvm::PointerIntPair VarAndNestedAndThis; - + /// Expression to initialize a field of the given type, and the kind of + /// capture (if this is a capture and not an init-capture). The expression + /// is only required if we are capturing ByVal and the variable's type has + /// a non-trivial copy constructor. + llvm::PointerIntPair InitExprAndCaptureKind; + /// \brief The source location at which the first capture occurred. SourceLocation Loc;