diff options
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index e8742e8e51..e4af8a5c46 100644 --- a/lib/Sema/Sema.h +++ b/lib/Sema/Sema.h @@ -107,6 +107,10 @@ struct BlockSemaInfo { /// block. llvm::SmallVector<SwitchStmt*, 8> SwitchStack; + /// SavedFunctionNeedsScopeChecking - This is the value of + /// CurFunctionNeedsScopeChecking at the point when the block started. + bool SavedFunctionNeedsScopeChecking; + /// PrevBlockInfo - If this is nested inside another block, this points /// to the outer block. BlockSemaInfo *PrevBlockInfo; |