aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/DiagnosticKinds.def
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Basic/DiagnosticKinds.def')
-rw-r--r--include/clang/Basic/DiagnosticKinds.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticKinds.def b/include/clang/Basic/DiagnosticKinds.def
index bad9819ec8..de1500f388 100644
--- a/include/clang/Basic/DiagnosticKinds.def
+++ b/include/clang/Basic/DiagnosticKinds.def
@@ -1315,6 +1315,10 @@ DIAG(err_decrement_bool, ERROR,
"cannot decrement expression of type bool")
DIAG(warn_increment_bool, WARNING,
"incrementing expression of type bool is deprecated")
+DIAG(err_catch_incomplete, ERROR,
+ "cannot catch%select{| pointer to| reference to}1 incomplete type %0")
+DIAG(err_qualified_catch_declarator, ERROR,
+ "exception declarator cannot be qualified")
DIAG(err_invalid_use_of_function_type, ERROR,
"a function type is not allowed here")