projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Silence -Wsign-compare warnings from GCC.
[oota-llvm.git]
/
lib
/
VMCore
/
PrintModulePass.cpp
diff --git
a/lib/VMCore/PrintModulePass.cpp
b/lib/VMCore/PrintModulePass.cpp
index 415309e52fa9c54aba59467f1ae6bdc453da51d1..1f1fbc91bc31a4eeb388792335ed4c7f35fb947e 100644
(file)
--- a/
lib/VMCore/PrintModulePass.cpp
+++ b/
lib/VMCore/PrintModulePass.cpp
@@
-58,7
+58,7
@@
namespace {
PrintFunctionPass(const std::string &B, raw_ostream *o, bool DS)
: FunctionPass(ID), Banner(B), Out(o), DeleteStream(DS) {}
PrintFunctionPass(const std::string &B, raw_ostream *o, bool DS)
: FunctionPass(ID), Banner(B), Out(o), DeleteStream(DS) {}
-
inline
~PrintFunctionPass() {
+ ~PrintFunctionPass() {
if (DeleteStream) delete Out;
}
if (DeleteStream) delete Out;
}
@@
-78,10
+78,10
@@
namespace {
char PrintModulePass::ID = 0;
INITIALIZE_PASS(PrintModulePass, "print-module",
char PrintModulePass::ID = 0;
INITIALIZE_PASS(PrintModulePass, "print-module",
- "Print module to stderr", false, false)
;
+ "Print module to stderr", false, false)
char PrintFunctionPass::ID = 0;
INITIALIZE_PASS(PrintFunctionPass, "print-function",
char PrintFunctionPass::ID = 0;
INITIALIZE_PASS(PrintFunctionPass, "print-function",
- "Print function to stderr", false, false)
;
+ "Print function to stderr", false, false)
/// createPrintModulePass - Create and return a pass that writes the
/// module to the specified raw_ostream.
/// createPrintModulePass - Create and return a pass that writes the
/// module to the specified raw_ostream.