r286409 - [Sema][NFC] Reset HasFallthroughStmt when clearing FunctionScopeInfo
Erik Pilkington via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 9 14:52:24 PST 2016
Author: epilk
Date: Wed Nov 9 16:52:23 2016
New Revision: 286409
URL: http://llvm.org/viewvc/llvm-project?rev=286409&view=rev
Log:
[Sema][NFC] Reset HasFallthroughStmt when clearing FunctionScopeInfo
Differential revision: https://reviews.llvm.org/D22770
Modified:
cfe/trunk/lib/Sema/ScopeInfo.cpp
Modified: cfe/trunk/lib/Sema/ScopeInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/ScopeInfo.cpp?rev=286409&r1=286408&r2=286409&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/ScopeInfo.cpp (original)
+++ cfe/trunk/lib/Sema/ScopeInfo.cpp Wed Nov 9 16:52:23 2016
@@ -29,6 +29,7 @@ void FunctionScopeInfo::Clear() {
HasIndirectGoto = false;
HasDroppedStmt = false;
HasOMPDeclareReductionCombiner = false;
+ HasFallthroughStmt = false;
HasPotentialAvailabilityViolations = false;
ObjCShouldCallSuper = false;
ObjCIsDesignatedInit = false;
More information about the cfe-commits
mailing list