diff options
author | Steve Naroff <snaroff@apple.com> | 2009-02-11 20:05:44 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-02-11 20:05:44 +0000 |
commit | e21dd6ffef4585fa43cd3586ed971217d65bf56c (patch) | |
tree | f22e966014b4aa6f98501776285827fc0c441ab0 /lib/Sema/Sema.h | |
parent | cc45cb3630b42c5245e26593e385097c220bc859 (diff) |
Fix <rdar://problem/6243503> [sema] @throw; accepted outside catch block.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index c236b89a5e..aafddc5a03 100644 --- a/lib/Sema/Sema.h +++ b/lib/Sema/Sema.h @@ -1033,7 +1033,8 @@ public: StmtArg Catch, StmtArg Finally); virtual OwningStmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc, - ExprArg Throw); + ExprArg Throw, + Scope *CurScope); virtual OwningStmtResult ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, ExprArg SynchExpr, StmtArg SynchBody); |