mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 02:00:03 +08:00
Rename warning -> warn.
It's better because it's a verb. llvm-svn: 282763
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user