From bcd2498f4f1682dbdc41452add5b9bc72cbd6b3f Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 7 Dec 2006 20:28:15 +0000 Subject: Removed more includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32321 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Debugger/ProgramInfo.cpp | 6 ++---- lib/Debugger/SourceLanguage-Unknown.cpp | 6 +++--- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'lib/Debugger') 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 - 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 +#include "llvm/Support/Streams.h" #include 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; } -- cgit v1.2.3