diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2011-06-23 19:00:08 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-06-23 19:00:08 +0000 |
| commit | cf5abc7ba032bd35158e4d75b0bc92a482fc67e8 (patch) | |
| tree | 84687f1541301b30a527f804d1367dca86f61580 /include | |
| parent | b9b4b789ebd28d6fde1c42de820b036ffaf95162 (diff) | |
| download | clang-cf5abc7ba032bd35158e4d75b0bc92a482fc67e8.tar.gz clang-cf5abc7ba032bd35158e4d75b0bc92a482fc67e8.tar.bz2 clang-cf5abc7ba032bd35158e4d75b0bc92a482fc67e8.tar.xz | |
Support for catching objc pointer objects in c++ catch-statement
in fragile abi mode and some other cleanups. // rdar://8940528
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133747 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
| -rw-r--r-- | include/clang/Basic/DiagnosticGroups.td | 3 | ||||
| -rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 7 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/clang/Basic/DiagnosticGroups.td b/include/clang/Basic/DiagnosticGroups.td index 7881ad3ad6..8a10914988 100644 --- a/include/clang/Basic/DiagnosticGroups.td +++ b/include/clang/Basic/DiagnosticGroups.td @@ -296,3 +296,6 @@ def GNU : DiagGroup<"gnu", [GNUDesignator, VLA]>; // A warning group for warnings about Microsoft extensions. def Microsoft : DiagGroup<"microsoft">; + +def ObjCNonUnifiedException : DiagGroup<"objc-nonunified-exceptions">; + diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 6b710f5f1e..fb031596d5 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -3154,11 +3154,8 @@ def err_qualified_objc_catch_parm : Error< def err_objc_pointer_cxx_catch_gnu : Error< "can't catch Objective C exceptions in C++ in the GNU runtime">; def warn_objc_pointer_cxx_catch_fragile : Warning< - "catching Objective C id's exceptions in C++ in the non-unified " - "exception model">; -def err_objc_pointer_cxx_catch_fragile : Error< -"can't catch Objective C exceptions in C++ in the non-unified " -"exception model">; + "catching Objective C exceptions in C++ in the non-unified " + "exception model">, InGroup<ObjCNonUnifiedException>; def err_objc_object_catch : Error< "can't catch an Objective C object by value">; def err_incomplete_type_objc_at_encode : Error< |
