From 5dbe7a9362040c925245a3cf30077b3a14d09a84 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 llvm-svn: 286409 --- clang/lib/Sema/ScopeInfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/lib/Sema/ScopeInfo.cpp b/clang/lib/Sema/ScopeInfo.cpp index 76240bc..3970b41 100644 --- a/clang/lib/Sema/ScopeInfo.cpp +++ b/clang/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.7.4