[Sema][NFC] Reset HasFallthroughStmt when clearing FunctionScopeInfo

Differential revision: https://reviews.llvm.org/D22770

llvm-svn: 286409
This commit is contained in:
Erik Pilkington 2016-11-09 22:52:23 +00:00
parent 09dd2496b7
commit 5dbe7a9362
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ void FunctionScopeInfo::Clear() {
HasIndirectGoto = false;
HasDroppedStmt = false;
HasOMPDeclareReductionCombiner = false;
HasFallthroughStmt = false;
HasPotentialAvailabilityViolations = false;
ObjCShouldCallSuper = false;
ObjCIsDesignatedInit = false;