forked from OSchip/llvm-project
[Sema][NFC] Reset HasFallthroughStmt when clearing FunctionScopeInfo
Differential revision: https://reviews.llvm.org/D22770 llvm-svn: 286409
This commit is contained in:
parent
09dd2496b7
commit
5dbe7a9362
|
@ -29,6 +29,7 @@ void FunctionScopeInfo::Clear() {
|
||||||
HasIndirectGoto = false;
|
HasIndirectGoto = false;
|
||||||
HasDroppedStmt = false;
|
HasDroppedStmt = false;
|
||||||
HasOMPDeclareReductionCombiner = false;
|
HasOMPDeclareReductionCombiner = false;
|
||||||
|
HasFallthroughStmt = false;
|
||||||
HasPotentialAvailabilityViolations = false;
|
HasPotentialAvailabilityViolations = false;
|
||||||
ObjCShouldCallSuper = false;
|
ObjCShouldCallSuper = false;
|
||||||
ObjCIsDesignatedInit = false;
|
ObjCIsDesignatedInit = false;
|
||||||
|
|
Loading…
Reference in New Issue