diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-01-11 19:33:54 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-01-11 19:33:54 +0000 |
commit | 4d8efb48b9de9feee79c948ef9d05febd6d0c20b (patch) | |
tree | 895fc081caf56751d15a7d3367c937484531ce70 /include/clang | |
parent | 46f92523918fd4ac4df5489265c7f85c1b28baea (diff) |
Improve diagnostic per Richard's suggestion
(which may yet change if we move the diagnostic
outside case value).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172242 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 6712f20cd3..0b1917a46d 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -5713,7 +5713,7 @@ def warn_case_value_overflow : Warning< "overflow converting case value to switch condition type (%0 to %1)">, InGroup<Switch>; def warn_case_constant_overflow : Warning< - "overflow in case constant expression results in new value (%0)">, + "overflow in case constant expression results in value %0">, InGroup<Switch>; def err_duplicate_case : Error<"duplicate case value '%0'">; def err_duplicate_case_differing_expr : Error< |