Author: rnk Date: Mon Mar 6 17:52:53 2017 New Revision: 297101 URL: http://llvm.org/viewvc/llvm-project?rev=297101&view=rev Log: Fix some widespread warnings in headers from the new coroutine code
Modified: cfe/trunk/include/clang/AST/Stmt.h cfe/trunk/include/clang/Sema/ScopeInfo.h Modified: cfe/trunk/include/clang/AST/Stmt.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Stmt.h?rev=297101&r1=297100&r2=297101&view=diff ============================================================================== --- cfe/trunk/include/clang/AST/Stmt.h (original) +++ cfe/trunk/include/clang/AST/Stmt.h Mon Mar 6 17:52:53 2017 @@ -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 { Modified: cfe/trunk/include/clang/Sema/ScopeInfo.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/ScopeInfo.h?rev=297101&r1=297100&r2=297101&view=diff ============================================================================== --- cfe/trunk/include/clang/Sema/ScopeInfo.h (original) +++ cfe/trunk/include/clang/Sema/ScopeInfo.h Mon Mar 6 17:52:53 2017 @@ -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(); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits