Partial AST and Sema support for C++ try-catch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61337 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h
index f8923b4..c179fe8 100644
--- a/lib/Sema/Sema.h
+++ b/lib/Sema/Sema.h
@@ -636,10 +636,10 @@
ExprTy *SynchExpr,
StmtTy *SynchBody);
- //virtual DeclTy *ActOnExceptionDeclarator(Scope *S, Declarator &D);
- //virtual OwningStmtResult ActOnCXXCatchBlock(SourceLocation CatchLoc,
- // DeclTy *ExceptionDecl,
- // StmtArg HandlerBlock);
+ virtual DeclTy *ActOnExceptionDeclarator(Scope *S, Declarator &D);
+ virtual OwningStmtResult ActOnCXXCatchBlock(SourceLocation CatchLoc,
+ DeclTy *ExDecl,
+ StmtArg HandlerBlock);
//virtual OwningStmtResult ActOnCXXTryBlock(SourceLocation TryLoc,
// StmtArg TryBlock,
// MultiStmtArg Handlers);