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.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/include/clang/Basic/DiagnosticKinds.def b/clang/include/clang/Basic/DiagnosticKinds.def
index ccc3ed37141..6f4fa2571df 100644
--- a/clang/include/clang/Basic/DiagnosticKinds.def
+++ b/clang/include/clang/Basic/DiagnosticKinds.def
@@ -713,6 +713,8 @@ DIAG(err_default_not_in_switch, ERROR,
"'default' statement not in switch statement")
DIAG(err_case_not_in_switch, ERROR,
"'case' statement not in switch statement")
+DIAG(warn_case_value_overflow, WARNING,
+ "overflow converting case value to switch condition type (%0 to %1)")
DIAG(err_typecheck_return_incompatible, ERROR,
"incompatible type returning '%1', expected '%0'")
DIAG(ext_typecheck_return_pointer_int, WARNING,
OpenPOWER on IntegriCloud