aboutsummaryrefslogtreecommitdiff
path: root/Driver/PrintParserCallbacks.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2009-02-11 20:05:44 +0000
committerSteve Naroff <snaroff@apple.com>2009-02-11 20:05:44 +0000
commite21dd6ffef4585fa43cd3586ed971217d65bf56c (patch)
treef22e966014b4aa6f98501776285827fc0c441ab0 /Driver/PrintParserCallbacks.cpp
parentcc45cb3630b42c5245e26593e385097c220bc859 (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 'Driver/PrintParserCallbacks.cpp')
-rw-r--r--Driver/PrintParserCallbacks.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Driver/PrintParserCallbacks.cpp b/Driver/PrintParserCallbacks.cpp
index b8957e520c..e3850bab56 100644
--- a/Driver/PrintParserCallbacks.cpp
+++ b/Driver/PrintParserCallbacks.cpp
@@ -402,7 +402,8 @@ namespace {
}
virtual OwningStmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc,
- ExprArg Throw) {
+ ExprArg Throw,
+ Scope *CurScope) {
llvm::cout << __FUNCTION__ << "\n";
return StmtEmpty();
}