From: Eli Friedman Date: Mon, 3 Aug 2009 05:14:16 +0000 (+0000) Subject: Tweak diagnostic wording; patch by Sean Hunt. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7640905de2f8c81c818785e8e869ed7b75ae849;p=clang Tweak diagnostic wording; patch by Sean Hunt. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77955 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index a4e8f56954..8f5378d998 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -1110,7 +1110,7 @@ def err_bitfield_has_negative_width : Error< "bit-field %0 has negative width (%1)">; def err_anon_bitfield_has_negative_width : Error< "anonymous bit-field has negative width (%0)">; -def err_bitfield_has_zero_width : Error<"bit-field %0 has zero width">; +def err_bitfield_has_zero_width : Error<"named bit-field %0 has zero width">; def err_bitfield_width_exceeds_type_size : Error< "size of bit-field %0 exceeds size of its type (%1 bits)">; def err_anon_bitfield_width_exceeds_type_size : Error<