From d31e13f2877b5ecbc1df7d20912967aa01f5eef8 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 29 Sep 2016 21:00:23 +0000 Subject: Rename warning -> warn. It's better because it's a verb. llvm-svn: 282763 --- lld/ELF/InputFiles.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lld/ELF/InputFiles.cpp') diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp index cc6d1892d95..01dc5dff4ea 100644 --- a/lld/ELF/InputFiles.cpp +++ b/lld/ELF/InputFiles.cpp @@ -433,10 +433,10 @@ template void ArchiveFile::parse() { } if (IsEmpty) - warning(getName() + " has no symbol. Chances are you are doing " - "an LTO build and forgot to use an ar command that can create " - "a symbol table for LLVM bitcode files. If so, use llvm-ar or " - "GNU ar + plugin."); + warn(getName() + " has no symbol. Chances are you are doing " + "an LTO build and forgot to use an ar command that can create " + "a symbol table for LLVM bitcode files. If so, use llvm-ar or " + "GNU ar + plugin."); } // Returns a buffer pointing to a member file containing a given symbol. -- cgit v1.2.3