]> granicus.if.org Git - clang/commitdiff
Fix grammar error in err_bad_reinterpret_cast_reference error message.
authorNathan Sidwell <nathan@acm.org>
Sat, 29 Nov 2014 22:51:47 +0000 (22:51 +0000)
committerNathan Sidwell <nathan@acm.org>
Sat, 29 Nov 2014 22:51:47 +0000 (22:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222963 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index 69d42f57922f461ec89b4b8db09c167b811f905a..75e78bf5ec9f4fa224c23695921f5ae869d765ec 100644 (file)
@@ -5286,7 +5286,7 @@ def err_bad_cxx_cast_member_pointer_size : Error<
   "cannot %select{||reinterpret_cast||C-style cast|}0 from member pointer "
   "type %1 to member pointer type %2 of different size">;
 def err_bad_reinterpret_cast_reference : Error<
-  "reinterpret_cast of a %0 to %1 needs its address which is not allowed">;
+  "reinterpret_cast of a %0 to %1 needs its address, which is not allowed">;
 def warn_undefined_reinterpret_cast : Warning<
   "reinterpret_cast from %0 to %1 has undefined behavior">,
   InGroup<UndefinedReinterpretCast>, DefaultIgnore;