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 | 8c78a0bff0c0e9d0594598bcb76cd623bb625083 (patch) | |
tree | 7bc923ea023ad1b97520bf8dc76bdb2bc861fc7b /llvm/tools/opt/PrintSCC.cpp | |
parent | 7aa944da8b4de0e532a5634a66f99f418d4bd0dc (diff) | |
download | bcm5719-llvm-8c78a0bff0c0e9d0594598bcb76cd623bb625083.tar.gz bcm5719-llvm-8c78a0bff0c0e9d0594598bcb76cd623bb625083.zip |
Drop 'const'
llvm-svn: 36662
Diffstat (limited to 'llvm/tools/opt/PrintSCC.cpp')
-rw-r--r-- | llvm/tools/opt/PrintSCC.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/opt/PrintSCC.cpp b/llvm/tools/opt/PrintSCC.cpp index bf3078f6722..c2e4f5b0bc9 100644 --- a/llvm/tools/opt/PrintSCC.cpp +++ b/llvm/tools/opt/PrintSCC.cpp @@ -35,7 +35,7 @@ using namespace llvm; namespace { struct CFGSCC : public FunctionPass { - static const char ID; // Pass identification, replacement for typeid + static char ID; // Pass identification, replacement for typeid CFGSCC() : FunctionPass((intptr_t)&ID) {} bool runOnFunction(Function& func); @@ -47,7 +47,7 @@ namespace { }; struct CallGraphSCC : public ModulePass { - static const char ID; // Pass identification, replacement for typeid + static char ID; // Pass identification, replacement for typeid CallGraphSCC() : ModulePass((intptr_t)&ID) {} // run - Print out SCCs in the call graph for the specified module. @@ -62,11 +62,11 @@ namespace { } }; - const char CFGSCC::ID = 0; + char CFGSCC::ID = 0; RegisterPass<CFGSCC> Y("cfgscc", "Print SCCs of each function CFG"); - const char CallGraphSCC::ID = 0; + char CallGraphSCC::ID = 0; RegisterPass<CallGraphSCC> Z("callscc", "Print SCCs of the Call Graph"); } |