[llvm-commits] CVS: llvm/lib/Debugger/ProgramInfo.cpp SourceLanguage-Unknown.cpp
Bill Wendling
isanbard at gmail.com
Thu Dec 7 12:28:42 PST 2006
Changes in directory llvm/lib/Debugger:
ProgramInfo.cpp updated: 1.19 -> 1.20
SourceLanguage-Unknown.cpp updated: 1.3 -> 1.4
---
Log message:
Removed more <iostream> includes
---
Diffs of the changes: (+5 -7)
ProgramInfo.cpp | 6 ++----
SourceLanguage-Unknown.cpp | 6 +++---
2 files changed, 5 insertions(+), 7 deletions(-)
Index: llvm/lib/Debugger/ProgramInfo.cpp
diff -u llvm/lib/Debugger/ProgramInfo.cpp:1.19 llvm/lib/Debugger/ProgramInfo.cpp:1.20
--- llvm/lib/Debugger/ProgramInfo.cpp:1.19 Thu Nov 2 14:25:49 2006
+++ llvm/lib/Debugger/ProgramInfo.cpp Thu Dec 7 14:28:15 2006
@@ -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 @@
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;
}
}
Index: llvm/lib/Debugger/SourceLanguage-Unknown.cpp
diff -u llvm/lib/Debugger/SourceLanguage-Unknown.cpp:1.3 llvm/lib/Debugger/SourceLanguage-Unknown.cpp:1.4
--- llvm/lib/Debugger/SourceLanguage-Unknown.cpp:1.3 Thu Apr 21 17:36:21 2005
+++ llvm/lib/Debugger/SourceLanguage-Unknown.cpp Thu Dec 7 14:28:15 2006
@@ -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 *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;
}
More information about the llvm-commits
mailing list