From: Reid Kleckner Date: Mon, 6 Mar 2017 23:52:53 +0000 (+0000) Subject: Fix some widespread warnings in headers from the new coroutine code X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e546cb397a70f53032e8be1507ec4422b8f0503b;p=clang Fix some widespread warnings in headers from the new coroutine code git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@297101 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Stmt.h b/include/clang/AST/Stmt.h index 4d17876e90..21043266f8 100644 --- a/include/clang/AST/Stmt.h +++ b/include/clang/AST/Stmt.h @@ -259,9 +259,6 @@ protected: unsigned : NumExprBits; unsigned IsImplicit : 1; - - /// \brief The number of arguments to this type trait. - unsigned NumArgs : 32 - 1 - NumExprBits; }; union { diff --git a/include/clang/Sema/ScopeInfo.h b/include/clang/Sema/ScopeInfo.h index e2c65fe1a8..e49e4d9457 100644 --- a/include/clang/Sema/ScopeInfo.h +++ b/include/clang/Sema/ScopeInfo.h @@ -411,12 +411,12 @@ public: HasOMPDeclareReductionCombiner(false), HasFallthroughStmt(false), HasPotentialAvailabilityViolations(false), - NeedsCoroutineSuspends(true), ObjCShouldCallSuper(false), ObjCIsDesignatedInit(false), ObjCWarnForNoDesignatedInitChain(false), ObjCIsSecondaryInit(false), ObjCWarnForNoInitDelegation(false), + NeedsCoroutineSuspends(true), ErrorTrap(Diag) { } virtual ~FunctionScopeInfo();