]> granicus.if.org Git - clang/commitdiff
Tweak diagnostic wording; patch by Sean Hunt.
authorEli Friedman <eli.friedman@gmail.com>
Mon, 3 Aug 2009 05:14:16 +0000 (05:14 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Mon, 3 Aug 2009 05:14:16 +0000 (05:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77955 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index a4e8f569547bae41e4a7b7ff2ed08795118a5109..8f5378d998544cad81217ebae5bd8a0cb5899ed4 100644 (file)
@@ -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<