aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-05-03 01:11:54 +0000
committerDevang Patel <dpatel@apple.com>2007-05-03 01:11:54 +0000
commit1997473cf72957d0e70322e2fe6fe2ab141c58a6 (patch)
treec98464a35a7d5a7893b1ffa191981a820b34bff9 /include/llvm/Transforms
parent10c9a8211d48ddd34ebe4b0abea21917a8dc7ed4 (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/Transforms')
-rw-r--r--include/llvm/Transforms/RSProfiling.h2
-rw-r--r--include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Transforms/RSProfiling.h b/include/llvm/Transforms/RSProfiling.h
index 96554c5904..b5cb3021ef 100644
--- a/include/llvm/Transforms/RSProfiling.h
+++ b/include/llvm/Transforms/RSProfiling.h
@@ -23,7 +23,7 @@ namespace llvm {
/// this interface are expected to chain to other implementations, such that
/// multiple profilers can be support simultaniously.
struct RSProfilers : public ModulePass {
- static const char ID; // Pass identification, replacement for typeinfo
+ static char ID; // Pass identification, replacement for typeinfo
RSProfilers() : ModulePass((intptr_t)&ID) {}
/// isProfiling - This method returns true if the value passed it was
diff --git a/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h b/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
index d107c93f51..ab58a662af 100644
--- a/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
+++ b/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
@@ -25,7 +25,7 @@ namespace llvm {
struct UnifyFunctionExitNodes : public FunctionPass {
BasicBlock *ReturnBlock, *UnwindBlock, *UnreachableBlock;
public:
- static const char ID; // Pass identifcation, replacement for typeid
+ static char ID; // Pass identifcation, replacement for typeid
UnifyFunctionExitNodes() : FunctionPass((intptr_t)&ID),
ReturnBlock(0), UnwindBlock(0) {}