[llvm-commits] CVS: llvm/include/llvm/Assembly/PrintModulePass.h
Devang Patel
dpatel at apple.com
Wed May 2 18:13:57 PDT 2007
Changes in directory llvm/include/llvm/Assembly:
PrintModulePass.h updated: 1.23 -> 1.24
---
Log message:
Drop 'const'
---
Diffs of the changes: (+2 -2)
PrintModulePass.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/include/llvm/Assembly/PrintModulePass.h
diff -u llvm/include/llvm/Assembly/PrintModulePass.h:1.23 llvm/include/llvm/Assembly/PrintModulePass.h:1.24
--- llvm/include/llvm/Assembly/PrintModulePass.h:1.23 Wed May 2 16:39:18 2007
+++ llvm/include/llvm/Assembly/PrintModulePass.h Wed May 2 20:11:53 2007
@@ -28,7 +28,7 @@
OStream *Out; // ostream to print on
bool DeleteStream; // Delete the ostream in our dtor?
public:
- static const char ID;
+ static char ID;
PrintModulePass() : ModulePass((intptr_t)&ID), Out(&cerr), DeleteStream(false) {}
PrintModulePass(OStream *o, bool DS = false)
: ModulePass((intptr_t)&ID), Out(o), DeleteStream(DS) {}
@@ -52,7 +52,7 @@
OStream *Out; // ostream to print on
bool DeleteStream; // Delete the ostream in our dtor?
public:
- static const char ID;
+ static char ID;
PrintFunctionPass() : FunctionPass((intptr_t)&ID), Banner(""), Out(&cerr),
DeleteStream(false) {}
PrintFunctionPass(const std::string &B, OStream *o = &cout,
More information about the llvm-commits
mailing list