]> granicus.if.org Git - clang/commitdiff
Fix diagnostic adding missing parameter.
authorDaniel Jasper <djasper@google.com>
Mon, 16 Jul 2012 11:51:49 +0000 (11:51 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 16 Jul 2012 11:51:49 +0000 (11:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160263 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index 089d819ee0fa63ed4d11bd880c96ae24400c1f03..4c07fc6fa62081f955e8e9e9aa5304a420d8d421 100644 (file)
@@ -1141,7 +1141,7 @@ def err_init_conversion_failed : Error<
   "exception object|a member subobject|an array element|a new value|a value|a "
   "base class|a constructor delegation|a vector element}0 "
   "%diff{of type $ with an %select{rvalue|lvalue}2 of type $|"
-  "with an %select{rvalue|lvalue} of incompatible type}1,3"
+  "with an %select{rvalue|lvalue}2 of incompatible type}1,3"
   "%select{|: different classes%diff{ ($ vs $)|}5,6"
   "|: different number of parameters (%5 vs %6)"
   "|: type mismatch at %ordinal5 parameter%diff{ ($ vs $)|}6,7"