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.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticKinds.def b/include/clang/Basic/DiagnosticKinds.def
index de1500f388..8f15d2e4d7 100644
--- a/include/clang/Basic/DiagnosticKinds.def
+++ b/include/clang/Basic/DiagnosticKinds.def
@@ -1319,6 +1319,8 @@ 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_early_catch_all, ERROR,
+ "catch-all handler must come last")
DIAG(err_invalid_use_of_function_type, ERROR,
"a function type is not allowed here")