diff options
author | Dan Gohman <gohman@apple.com> | 2008-10-25 17:57:20 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-10-25 17:57:20 +0000 |
commit | 5d9759bd04f2aa9f95067ea32f67a8ad5cac4c8f (patch) | |
tree | 7b4329143ace41beec3b7805676b1447c47f0b82 /lib/Linker | |
parent | 048ca55dc1b667b99060ce16a4891b36e950cf73 (diff) | |
download | external_llvm-5d9759bd04f2aa9f95067ea32f67a8ad5cac4c8f.zip external_llvm-5d9759bd04f2aa9f95067ea32f67a8ad5cac4c8f.tar.gz external_llvm-5d9759bd04f2aa9f95067ea32f67a8ad5cac4c8f.tar.bz2 |
Make comments and code for QuietWarnings and QuietErrors
actually correspond to what their names suggest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58146 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker')
-rw-r--r-- | lib/Linker/Linker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Linker/Linker.cpp b/lib/Linker/Linker.cpp index ef242e5..d673772 100644 --- a/lib/Linker/Linker.cpp +++ b/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; } |