From 9b39ae2f1fd78a10b7d811d8f150d46ca5d4b93f Mon Sep 17 00:00:00 2001 From: Erik Pilkington Date: Wed, 9 Nov 2016 22:52:23 +0000 Subject: [PATCH] [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 --- lib/Sema/ScopeInfo.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.40.0