aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SystemUtils.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2020-07-08 13:20:34 -0700
committerArthur Eubanks <aeubanks@google.com>2020-07-08 13:21:20 -0700
commit930eaadacfd11273af2f9c3ae21664648dc1e26f (patch)
tree0b742f3e5f7ce733a1740ebc6bdfa354db6d5f4e /llvm/lib/Support/SystemUtils.cpp
parent6e089e98a9d5d7d0dda259f68b8ba7f4556cc5b3 (diff)
downloadllvm-930eaadacfd11273af2f9c3ae21664648dc1e26f.zip
llvm-930eaadacfd11273af2f9c3ae21664648dc1e26f.tar.gz
llvm-930eaadacfd11273af2f9c3ae21664648dc1e26f.tar.bz2
[opt] Remove obsolete --quiet option
git blame shows these were last touched in 2004? Obsoleted in r13844. Reviewed By: hans Differential Revision: https://reviews.llvm.org/D83409
Diffstat (limited to 'llvm/lib/Support/SystemUtils.cpp')
-rw-r--r--llvm/lib/Support/SystemUtils.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/llvm/lib/Support/SystemUtils.cpp b/llvm/lib/Support/SystemUtils.cpp
index 47e0c72..f1149e4 100644
--- a/llvm/lib/Support/SystemUtils.cpp
+++ b/llvm/lib/Support/SystemUtils.cpp
@@ -15,15 +15,12 @@
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
-bool llvm::CheckBitcodeOutputToConsole(raw_ostream &stream_to_check,
- bool print_warning) {
+bool llvm::CheckBitcodeOutputToConsole(raw_ostream &stream_to_check) {
if (stream_to_check.is_displayed()) {
- if (print_warning) {
- errs() << "WARNING: You're attempting to print out a bitcode file.\n"
- "This is inadvisable as it may cause display problems. If\n"
- "you REALLY want to taste LLVM bitcode first-hand, you\n"
- "can force output with the `-f' option.\n\n";
- }
+ errs() << "WARNING: You're attempting to print out a bitcode file.\n"
+ "This is inadvisable as it may cause display problems. If\n"
+ "you REALLY want to taste LLVM bitcode first-hand, you\n"
+ "can force output with the `-f' option.\n\n";
return true;
}
return false;