]> granicus.if.org Git - clang/commitdiff
Add a missing argument index, wordsmith a little, and 80(ish) columns
authorMatt Beaumont-Gay <matthewbg@google.com>
Sat, 30 Jun 2012 01:37:38 +0000 (01:37 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Sat, 30 Jun 2012 01:37:38 +0000 (01:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159478 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index 1872ec50330f1d1882b7f1791960d291a9548fd5..00ace96189d981f350c09536dc475dae879cb589 100644 (file)
@@ -1159,12 +1159,14 @@ def err_lvalue_reference_bind_to_temporary : Error<
   "%select{non-const|volatile}0 lvalue reference %diff{to type $ cannot bind "
   "to a temporary of type $|cannot bind to incompatible temporary}1,2">;
 def err_lvalue_reference_bind_to_unrelated : Error<
-  "%select{non-const|volatile}0 lvalue reference %diff{to type $ cannot bind to a value of unrelated type $|cannot bind to a value of unrelated type}1,2">;
+  "%select{non-const|volatile}0 lvalue reference %diff{to type $ cannot bind "
+  "to a value of unrelated type $|cannot bind to a value of unrelated type}1,2">;
 def err_reference_bind_drops_quals : Error<
   "binding of reference %diff{to type $ to a value of type $ drops "
   "qualifiers|drops qualifiers}0,1">;
 def err_reference_bind_failed : Error<
-  "reference %diff{to type $ could not bind to an %select{rvalue|lvalue}1 of type $|could not bind to %select{rvalue|lvalue}}0,2">;
+  "reference %diff{to type $ could not bind to an %select{rvalue|lvalue}1 of "
+  "type $|could not bind to %select{rvalue|lvalue}1 of incompatible type}0,2">;
 def err_reference_bind_init_list : Error<
   "reference to type %0 cannot bind to an initializer list">;
 def warn_temporary_array_to_pointer_decay : Warning<