actually correspond to what their names suggest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58146
91177308-0d34-0410-b5e6-
96231b3b80d8
/// linker.
enum ControlFlags {
Verbose = 1, ///< Print to std::cerr what steps the linker is taking
- QuietWarnings = 2, ///< Don't print errors and warnings to std::cerr.
- QuietErrors = 4 ///< Indicate that this link is for a native executable
+ QuietWarnings = 2, ///< Don't print warnings to std::cerr.
+ QuietErrors = 4 ///< Don't print errors to std::cerr.
};
/// @}
bool
Linker::warning(const std::string& message) {
Error = message;
- if (!(Flags&QuietErrors))
+ if (!(Flags&QuietWarnings))
cerr << ProgramName << ": warning: " << message << "\n";
return false;
}