]> granicus.if.org Git - clang/commit
Rework Parser-Sema interface for Objective-C @catch exception object
authorDouglas Gregor <dgregor@apple.com>
Fri, 23 Apr 2010 23:01:43 +0000 (23:01 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 23 Apr 2010 23:01:43 +0000 (23:01 +0000)
commit4e6c0d19b7c072758922cf80525a81aeefc6e64b
treed8c4cfe54fe2b6b7b2a5b5e2b6816fbf17e7ca48
parent8f5e3dd32e443768d9dbbad7191e123e6733750c
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102222 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Action.h
lib/Parse/ParseObjc.cpp
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclObjC.cpp