summaryrefslogtreecommitdiffstats
path: root/clang/include/clang/Basic/DiagnosticKinds.def
diff options
context:
space:
mode:
Diffstat (limited to 'clang/include/clang/Basic/DiagnosticKinds.def')
-rw-r--r--clang/include/clang/Basic/DiagnosticKinds.def10
1 files changed, 8 insertions, 2 deletions
diff --git a/clang/include/clang/Basic/DiagnosticKinds.def b/clang/include/clang/Basic/DiagnosticKinds.def
index 4b93539e4b3..32f52f41cbc 100644
--- a/clang/include/clang/Basic/DiagnosticKinds.def
+++ b/clang/include/clang/Basic/DiagnosticKinds.def
@@ -1110,8 +1110,14 @@ DIAG(ext_reinterpret_cast_fn_obj, EXTENSION,
"an extension")
DIAG(err_bad_reinterpret_cast_small_int, ERROR,
"cast from pointer to smaller type '%0' loses information")
-DIAG(err_bad_dynamic_cast_operand, ERROR,
- "'%0' is %1")
+DIAG(err_bad_dynamic_cast_not_ref_or_ptr, ERROR,
+ "'%0' is not a reference or pointer")
+DIAG(err_bad_dynamic_cast_not_class, ERROR,
+ "'%0' is not a class")
+DIAG(err_bad_dynamic_cast_incomplete, ERROR,
+ "'%0' is incomplete")
+DIAG(err_bad_dynamic_cast_not_ptr, ERROR,
+ "'%0' is not a pointer")
DIAG(err_invalid_use_of_function_type, ERROR,
"a function type is not allowed here")
OpenPOWER on IntegriCloud