diff options
author | Devang Patel <dpatel@apple.com> | 2007-05-03 01:11:54 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-05-03 01:11:54 +0000 |
commit | 1997473cf72957d0e70322e2fe6fe2ab141c58a6 (patch) | |
tree | c98464a35a7d5a7893b1ffa191981a820b34bff9 /include/llvm/Assembly/PrintModulePass.h | |
parent | 10c9a8211d48ddd34ebe4b0abea21917a8dc7ed4 (diff) |
Drop 'const'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36662 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Assembly/PrintModulePass.h')
-rw-r--r-- | include/llvm/Assembly/PrintModulePass.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Assembly/PrintModulePass.h b/include/llvm/Assembly/PrintModulePass.h index c769c13037..0f65235d77 100644 --- a/include/llvm/Assembly/PrintModulePass.h +++ b/include/llvm/Assembly/PrintModulePass.h @@ -28,7 +28,7 @@ class PrintModulePass : public ModulePass { 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 @@ class PrintFunctionPass : public FunctionPass { 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, |