diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-04-23 23:01:43 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-04-23 23:01:43 +0000 |
| commit | e11ee11068a875f014e7ed696d75af31ec1bac83 (patch) | |
| tree | 66b22d7bc959df734ed6dab2de7b3f7f002dd766 /clang/lib/Sema/Sema.h | |
| parent | 96c79498fbcc1e7d03cba88725dffafb2b568c53 (diff) | |
| download | bcm5719-llvm-e11ee11068a875f014e7ed696d75af31ec1bac83.tar.gz bcm5719-llvm-e11ee11068a875f014e7ed696d75af31ec1bac83.zip | |
Rework Parser-Sema interface for Objective-C @catch exception object
arguments. Rather than having the parser call ActOnParamDeclarator
(which is a bit of a hack), call a new ActOnObjCExceptionDecl
action. We'll be moving more functionality into this handler to
perform earlier checking of @catch.
llvm-svn: 102222
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index e9cd6ca7d64..64afd56a40f 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -812,7 +812,7 @@ public: SourceLocation NameLoc, VarDecl::StorageClass StorageClass, VarDecl::StorageClass StorageClassAsWritten); - virtual void ActOnObjCCatchParam(DeclPtrTy D); + virtual DeclPtrTy ActOnObjCExceptionDecl(Scope *S, Declarator &D); virtual void ActOnParamDefaultArgument(DeclPtrTy param, SourceLocation EqualLoc, ExprArg defarg); |

