summaryrefslogtreecommitdiffstats
path: root/lld/ELF/InputFiles.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-09-29 21:00:23 +0000
committerRui Ueyama <ruiu@google.com>2016-09-29 21:00:23 +0000
commitd31e13f2877b5ecbc1df7d20912967aa01f5eef8 (patch)
treef8176502d70060f8bb0ce7a928da0b01fdf3b7f9 /lld/ELF/InputFiles.cpp
parent2abd0c2154a6ab1298316223714626a94732ba3a (diff)
downloadbcm5719-llvm-d31e13f2877b5ecbc1df7d20912967aa01f5eef8.tar.gz
bcm5719-llvm-d31e13f2877b5ecbc1df7d20912967aa01f5eef8.zip
Rename warning -> warn.
It's better because it's a verb. llvm-svn: 282763
Diffstat (limited to 'lld/ELF/InputFiles.cpp')
-rw-r--r--lld/ELF/InputFiles.cpp8
1 files changed, 4 insertions, 4 deletions
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 <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.
OpenPOWER on IntegriCloud