diff options
author | Erik Pilkington <erik.pilkington@gmail.com> | 2016-11-09 22:52:23 +0000 |
---|---|---|
committer | Erik Pilkington <erik.pilkington@gmail.com> | 2016-11-09 22:52:23 +0000 |
commit | 9b39ae2f1fd78a10b7d811d8f150d46ca5d4b93f (patch) | |
tree | a650632cff709c56e205054f7f5a30f506744b97 /lib/Sema/ScopeInfo.cpp | |
parent | 1c1417edc0d2b8b154ca227ab2337c2c25f1fa76 (diff) | |
download | clang-9b39ae2f1fd78a10b7d811d8f150d46ca5d4b93f.tar.gz |
[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
Diffstat (limited to 'lib/Sema/ScopeInfo.cpp')
-rw-r--r-- | lib/Sema/ScopeInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |