projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09dd249
)
[Sema][NFC] Reset HasFallthroughStmt when clearing FunctionScopeInfo
author
Erik Pilkington
<erik.pilkington@gmail.com>
Wed, 9 Nov 2016 22:52:23 +0000
(22:52 +0000)
committer
Erik Pilkington
<erik.pilkington@gmail.com>
Wed, 9 Nov 2016 22:52:23 +0000
(22:52 +0000)
Differential revision: https://reviews.llvm.org/D22770
llvm-svn: 286409
clang/lib/Sema/ScopeInfo.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/ScopeInfo.cpp
b/clang/lib/Sema/ScopeInfo.cpp
index
76240bc
..
3970b41
100644
(file)
--- 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;