diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-12-07 20:28:15 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-12-07 20:28:15 +0000 |
commit | bcd2498f4f1682dbdc41452add5b9bc72cbd6b3f (patch) | |
tree | c42cc25e701e45736f384bfced29bdbdf66a65a8 /lib/Debugger | |
parent | 832171cb9724d2d31c8dfb73172e2be8f6dd13ee (diff) | |
download | llvm-bcd2498f4f1682dbdc41452add5b9bc72cbd6b3f.tar.gz llvm-bcd2498f4f1682dbdc41452add5b9bc72cbd6b3f.tar.bz2 llvm-bcd2498f4f1682dbdc41452add5b9bc72cbd6b3f.tar.xz |
Removed more <iostream> includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Debugger')
-rw-r--r-- | lib/Debugger/ProgramInfo.cpp | 6 | ||||
-rw-r--r-- | lib/Debugger/SourceLanguage-Unknown.cpp | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/lib/Debugger/ProgramInfo.cpp b/lib/Debugger/ProgramInfo.cpp index 05ad4f7a8b..a315a2d5ba 100644 --- a/lib/Debugger/ProgramInfo.cpp +++ b/lib/Debugger/ProgramInfo.cpp @@ -23,8 +23,6 @@ #include "llvm/Debugger/SourceLanguage.h" #include "llvm/Support/SlowOperationInformer.h" #include "llvm/ADT/STLExtras.h" -#include <iostream> - using namespace llvm; /// getGlobalVariablesUsing - Return all of the global variables which have the @@ -181,8 +179,8 @@ void SourceFunctionInfo::getSourceLocation(unsigned &RetLineNo, if (SD) { // We found the first stop point! // This is just a sanity check. if (getSourceFile().getDescriptor() != SD) - std::cout << "WARNING: first line of function is not in the" - " file that the function descriptor claims it is in.\n"; + cout << "WARNING: first line of function is not in the" + << " file that the function descriptor claims it is in.\n"; break; } } diff --git a/lib/Debugger/SourceLanguage-Unknown.cpp b/lib/Debugger/SourceLanguage-Unknown.cpp index 22376f8e2d..276ae9fcaf 100644 --- a/lib/Debugger/SourceLanguage-Unknown.cpp +++ b/lib/Debugger/SourceLanguage-Unknown.cpp @@ -15,7 +15,7 @@ #include "llvm/Debugger/SourceLanguage.h" #include "llvm/Debugger/ProgramInfo.h" -#include <iostream> +#include "llvm/Support/Streams.h" #include <cassert> using namespace llvm; @@ -131,7 +131,7 @@ SourceFunctionInfo *SLU::lookupFunction(const std::string &FunctionName, SourceFunctionInfo *Found = IP.first->second; ++IP.first; if (IP.first != IP.second) - std::cout << "Whoa, found multiple functions with the same name. I should" - << " ask the user which one to use: FIXME!\n"; + cout << "Whoa, found multiple functions with the same name. I should" + << " ask the user which one to use: FIXME!\n"; return Found; } |