summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/Linker.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-10-25 17:57:20 +0000
committerDan Gohman <gohman@apple.com>2008-10-25 17:57:20 +0000
commitf856f504634fa9e16b9b24a40059a6f7feff5739 (patch)
tree759cfdc81cbe6e5a9f04abad1d49b590a26f572b /llvm/lib/Linker/Linker.cpp
parent811eed81abbd6bb3a3cd2144e4eeedbd2091dd40 (diff)
downloadbcm5719-llvm-f856f504634fa9e16b9b24a40059a6f7feff5739.tar.gz
bcm5719-llvm-f856f504634fa9e16b9b24a40059a6f7feff5739.zip
Make comments and code for QuietWarnings and QuietErrors
actually correspond to what their names suggest. llvm-svn: 58146
Diffstat (limited to 'llvm/lib/Linker/Linker.cpp')
-rw-r--r--llvm/lib/Linker/Linker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Linker/Linker.cpp b/llvm/lib/Linker/Linker.cpp
index ef242e5c798..d6737721d25 100644
--- a/llvm/lib/Linker/Linker.cpp
+++ b/llvm/lib/Linker/Linker.cpp
@@ -54,7 +54,7 @@ Linker::error(const std::string& message) {
bool
Linker::warning(const std::string& message) {
Error = message;
- if (!(Flags&QuietErrors))
+ if (!(Flags&QuietWarnings))
cerr << ProgramName << ": warning: " << message << "\n";
return false;
}
OpenPOWER on IntegriCloud