From: Erik Pilkington Date: Wed, 9 Nov 2016 22:52:23 +0000 (+0000) Subject: [Sema][NFC] Reset HasFallthroughStmt when clearing FunctionScopeInfo X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b39ae2f1fd78a10b7d811d8f150d46ca5d4b93f;p=clang [Sema][NFC] Reset HasFallthroughStmt when clearing FunctionScopeInfo Differential revision: https://reviews.llvm.org/D22770 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286409 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/ScopeInfo.cpp b/lib/Sema/ScopeInfo.cpp index 76240bcbfc..3970b41369 100644 --- a/lib/Sema/ScopeInfo.cpp +++ b/lib/Sema/ScopeInfo.cpp @@ -29,6 +29,7 @@ void FunctionScopeInfo::Clear() { HasIndirectGoto = false; HasDroppedStmt = false; HasOMPDeclareReductionCombiner = false; + HasFallthroughStmt = false; HasPotentialAvailabilityViolations = false; ObjCShouldCallSuper = false; ObjCIsDesignatedInit = false;