summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-03-06 23:52:53 +0000
committerReid Kleckner <rnk@google.com>2017-03-06 23:52:53 +0000
commitb6aa0bfd403c16544a87fb6865ea53462b59e6d6 (patch)
tree911c60c95bfafd1eb471d661ff3cc77f950122ea
parentc2c545b8f7693a77fdc37e8c19ec6229c1da5ef8 (diff)
downloadbcm5719-llvm-b6aa0bfd403c16544a87fb6865ea53462b59e6d6.tar.gz
bcm5719-llvm-b6aa0bfd403c16544a87fb6865ea53462b59e6d6.zip
Fix some widespread warnings in headers from the new coroutine code
llvm-svn: 297101
-rw-r--r--clang/include/clang/AST/Stmt.h3
-rw-r--r--clang/include/clang/Sema/ScopeInfo.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/clang/include/clang/AST/Stmt.h b/clang/include/clang/AST/Stmt.h
index 4d17876e901..21043266f8b 100644
--- a/clang/include/clang/AST/Stmt.h
+++ b/clang/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/clang/include/clang/Sema/ScopeInfo.h b/clang/include/clang/Sema/ScopeInfo.h
index e2c65fe1a83..e49e4d94576 100644
--- a/clang/include/clang/Sema/ScopeInfo.h
+++ b/clang/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();
OpenPOWER on IntegriCloud