[llvm] r265753 - Fix formatting and wording of llvm-ranlib error message. NFC.

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 7 17:15:33 PDT 2016


On Thu, Apr 7, 2016 at 5:02 PM, Sunil Srivastava via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: ssrivastava
> Date: Thu Apr  7 19:02:14 2016
> New Revision: 265753
>
> URL: http://llvm.org/viewvc/llvm-project?rev=265753&view=rev
> Log:
> Fix formatting and wording of llvm-ranlib error message. NFC.
>

Technicality: this patch is not NFC. It is a user-visible change (albeit a
very trivial one).

-- Sean Silva


>
> Patch by Douglas Yung!
>
> Reviewed by Rafael Espindola
>
> Modified:
>     llvm/trunk/tools/llvm-ar/llvm-ar.cpp
>
> Modified: llvm/trunk/tools/llvm-ar/llvm-ar.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-ar/llvm-ar.cpp?rev=265753&r1=265752&r2=265753&view=diff
>
> ==============================================================================
> --- llvm/trunk/tools/llvm-ar/llvm-ar.cpp (original)
> +++ llvm/trunk/tools/llvm-ar/llvm-ar.cpp Thu Apr  7 19:02:14 2016
> @@ -760,7 +760,7 @@ static int ar_main() {
>
>  static int ranlib_main() {
>    if (RestOfArgs.size() != 1)
> -    fail(ToolName + "takes just one archive as argument");
> +    fail(ToolName + " takes just one archive as an argument");
>    ArchiveName = RestOfArgs[0];
>    return performOperation(CreateSymTab, nullptr);
>  }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160407/bbd0a442/attachment.html>


More information about the llvm-commits mailing list