Rename warning -> warn.

It's better because it's a verb.

llvm-svn: 282763
This commit is contained in:
Rui Ueyama
2016-09-29 21:00:23 +00:00
parent 2abd0c2154
commit d31e13f287
9 changed files with 18 additions and 18 deletions

View File

@@ -433,10 +433,10 @@ template <class ELFT> 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.