Replaced STL streams with LLVM's raw_ostream (#344)

std::cout and std::printf were replaced with llvm::outs() and std::cerr was replaced with llvm::errs().
This commit is contained in:
Tyler Veness
2017-06-30 22:33:43 -04:00
committed by Peter Johnson
parent c57a7f0a41
commit 9d93820717
27 changed files with 118 additions and 118 deletions

View File

@@ -8,8 +8,6 @@
#pragma once
#include <chrono>
#include <iomanip>
#include <iostream>
#include <string>
#include "llvm/SmallString.h"
@@ -60,7 +58,7 @@ inline llvm::raw_ostream& Log::Get(TLogLevel level) {
inline Log::~Log() {
oss << "\n";
std::cerr << oss.str();
llvm::errs() << oss.str();
}
inline TLogLevel& Log::ReportingLevel() {