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
This commit is contained in:
Dan Gohman
2008-10-25 17:57:20 +00:00
parent 048ca55dc1
commit 5d9759bd04
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}