summaryrefslogtreecommitdiffstats
path: root/lld/ELF/LTO.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/LTO.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/LTO.cpp')
-rw-r--r--lld/ELF/LTO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/LTO.cpp b/lld/ELF/LTO.cpp
index 6b9696b4100..6b1192022a5 100644
--- a/lld/ELF/LTO.cpp
+++ b/lld/ELF/LTO.cpp
@@ -37,7 +37,7 @@ static void diagnosticHandler(const DiagnosticInfo &DI) {
raw_svector_ostream OS(ErrStorage);
DiagnosticPrinterRawOStream DP(OS);
DI.print(DP);
- warning(ErrStorage);
+ warn(ErrStorage);
}
static std::unique_ptr<lto::LTO> createLTO() {
OpenPOWER on IntegriCloud