[llvm-branch-commits] [llvm-gcc-branch] r80831 - /llvm-gcc-4.2/branches/Apple/Bender-SWB/gcc/llvm-convert.cpp
Bill Wendling
isanbard at gmail.com
Wed Sep 2 13:03:00 PDT 2009
Author: void
Date: Wed Sep 2 15:03:00 2009
New Revision: 80831
URL: http://llvm.org/viewvc/llvm-project?rev=80831&view=rev
Log:
Remove <iostream>.
Modified:
llvm-gcc-4.2/branches/Apple/Bender-SWB/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/branches/Apple/Bender-SWB/gcc/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Bender-SWB/gcc/llvm-convert.cpp?rev=80831&r1=80830&r2=80831&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Bender-SWB/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.2/branches/Apple/Bender-SWB/gcc/llvm-convert.cpp Wed Sep 2 15:03:00 2009
@@ -37,12 +37,12 @@
#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/System/Host.h"
#include "llvm/Support/MathExtras.h"
+#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetAsmInfo.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/DenseMap.h"
-#include <iostream>
extern "C" {
#include "config.h"
@@ -766,8 +766,8 @@
switch (TREE_CODE(exp)) {
default:
- std::cerr << "Unhandled expression!\n"
- << "TREE_CODE: " << TREE_CODE(exp) << "\n";
+ errs() << "Unhandled expression!\n"
+ << "TREE_CODE: " << TREE_CODE(exp) << "\n";
debug_tree(exp);
abort();
@@ -935,7 +935,7 @@
// Needs to be in sync with EmitVIEW_CONVERT_EXPR.
switch (TREE_CODE(exp)) {
default:
- std::cerr << "Unhandled lvalue expression!\n";
+ errs() << "Unhandled lvalue expression!\n";
debug_tree(exp);
abort();
@@ -988,7 +988,7 @@
//===----------------------------------------------------------------------===//
void TreeToLLVM::TODO(tree exp) {
- std::cerr << "Unhandled tree node\n";
+ errs() << "Unhandled tree node\n";
if (exp) debug_tree(exp);
abort();
}
More information about the llvm-branch-commits
mailing list