mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 16:19:52 +00:00
Removed more <iostream> includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32321 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -16,12 +16,12 @@
|
||||
#include "llvm/Support/SystemUtils.h"
|
||||
#include "llvm/System/Process.h"
|
||||
#include "llvm/System/Program.h"
|
||||
#include <iostream>
|
||||
using namespace llvm;
|
||||
|
||||
bool llvm::CheckBytecodeOutputToConsole(std::ostream* stream_to_check,
|
||||
bool print_warning) {
|
||||
if (stream_to_check == &std::cout && sys::Process::StandardOutIsDisplayed()) {
|
||||
if (stream_to_check == cout.stream() &&
|
||||
sys::Process::StandardOutIsDisplayed()) {
|
||||
if (print_warning) {
|
||||
cerr << "WARNING: You're attempting to print out a bytecode file.\n"
|
||||
<< "This is inadvisable as it may cause display problems. If\n"
|
||||
|
||||
Reference in New Issue
Block a user