diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-10-11 09:03:14 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-10-11 09:03:14 +0000 |
commit | dced226e37f7c2c31c25d06c514f29b610fe2a54 (patch) | |
tree | 30aa2297994e532099f846cc528e47c6c5a4b829 /include/clang/Basic | |
parent | 13d50177b13161b209579e1f30a5e3cc72f7e2bd (diff) |
Test exception spec compatibility on return type and parameters.
Along the way, use RequireCompleteType when testing exception spec types.
Separate all the ugly spec stuff into its own file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83764 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic')
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index f3d69c0035..fe8f5f29a9 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -365,6 +365,10 @@ def err_override_exception_spec : Error< "base version">; def err_incompatible_exception_specs : Error< "target exception specification is not superset of source">; +def err_return_type_specs_differ : Error< + "exception specifications of return types differ">; +def err_arg_type_specs_differ : Error< + "exception specifications of argument types differ">; // C++ access checking def err_class_redeclared_with_different_access : Error< |