diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2008-12-21 16:41:36 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2008-12-21 16:41:36 +0000 |
commit | a0fd8652f3302d0f39ed9849b521ee5b76597b0a (patch) | |
tree | b2fd4be9481d12209c0590794585a0fc1469c427 /include/clang/Parse/Action.h | |
parent | c994bb2b800d4aef4c42b5a58f33cb7816dbf7f0 (diff) |
Parser support for C++ try-catch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Parse/Action.h')
-rw-r--r-- | include/clang/Parse/Action.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h index 3031206dd6..249f1224c7 100644 --- a/include/clang/Parse/Action.h +++ b/include/clang/Parse/Action.h @@ -478,7 +478,24 @@ public: StmtTy *SynchBody) { return 0; } - + + // C++ Statements + virtual DeclTy *ActOnExceptionDeclarator(Scope *S, Declarator &D) { + return 0; + } + + virtual OwningStmtResult ActOnCXXCatchBlock(SourceLocation CatchLoc, + DeclTy *ExceptionDecl, + StmtArg HandlerBlock) { + return StmtEmpty(); + } + + virtual OwningStmtResult ActOnCXXTryBlock(SourceLocation TryLoc, + StmtArg TryBlock, + MultiStmtArg Handlers) { + return StmtEmpty(); + } + //===--------------------------------------------------------------------===// // Expression Parsing Callbacks. //===--------------------------------------------------------------------===// |