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 0dd27c4f6c3..f2dd2822585 100644
--- a/clang/include/clang/Basic/DiagnosticKinds.def
+++ b/clang/include/clang/Basic/DiagnosticKinds.def
@@ -719,6 +719,8 @@ DIAG(err_duplicate_case, ERROR,
"duplicate case value '%0'")
DIAG(err_duplicate_case_prev, ERROR,
"previous case value occurrence defined here")
+DIAG(warn_case_empty_range, WARNING,
+ "empty case range specified")
DIAG(err_typecheck_return_incompatible, ERROR,
"incompatible type returning '%1', expected '%0'")
DIAG(ext_typecheck_return_pointer_int, WARNING,
OpenPOWER on IntegriCloud