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.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/include/clang/Basic/DiagnosticKinds.def b/clang/include/clang/Basic/DiagnosticKinds.def
index 5b2eb9a6d12..af9df0d0c82 100644
--- a/clang/include/clang/Basic/DiagnosticKinds.def
+++ b/clang/include/clang/Basic/DiagnosticKinds.def
@@ -689,6 +689,9 @@ DIAG(err_not_integral_type_bitfield, ERROR,
"bit-field '%0' with non-integral type")
DIAG(err_member_initialization, ERROR,
"'%0' can only be initialized if it is a static const integral data member")
+DIAG(err_implicit_object_parameter_init, ERROR,
+ "cannot initialize object parameter of type '%0' with an expression "
+ "of type '%1'")
// C++ constructors
DIAG(err_constructor_cannot_be, ERROR,
OpenPOWER on IntegriCloud