[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp
Devang Patel
dpatel at apple.com
Wed May 2 18:14:00 PDT 2007
Changes in directory llvm/lib/Target/CBackend:
CBackend.cpp updated: 1.341 -> 1.342
---
Log message:
Drop 'const'
---
Diffs of the changes: (+4 -4)
CBackend.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/CBackend/CBackend.cpp
diff -u llvm/lib/Target/CBackend/CBackend.cpp:1.341 llvm/lib/Target/CBackend/CBackend.cpp:1.342
--- llvm/lib/Target/CBackend/CBackend.cpp:1.341 Wed May 2 16:39:19 2007
+++ llvm/lib/Target/CBackend/CBackend.cpp Wed May 2 20:11:53 2007
@@ -57,7 +57,7 @@
///
class CBackendNameAllUsedStructsAndMergeFunctions : public ModulePass {
public:
- static const char ID;
+ static char ID;
CBackendNameAllUsedStructsAndMergeFunctions()
: ModulePass((intptr_t)&ID) {}
void getAnalysisUsage(AnalysisUsage &AU) const {
@@ -71,7 +71,7 @@
virtual bool runOnModule(Module &M);
};
- const char CBackendNameAllUsedStructsAndMergeFunctions::ID = 0;
+ char CBackendNameAllUsedStructsAndMergeFunctions::ID = 0;
/// CWriter - This class is the main chunk of code that converts an LLVM
/// module to a C translation unit.
@@ -88,7 +88,7 @@
std::set<Function*> intrinsicPrototypesAlreadyGenerated;
public:
- static const char ID;
+ static char ID;
CWriter(std::ostream &o)
: FunctionPass((intptr_t)&ID), Out(o), IL(0), Mang(0), LI(0),
TheModule(0), TAsm(0), TD(0) {}
@@ -264,7 +264,7 @@
};
}
-const char CWriter::ID = 0;
+char CWriter::ID = 0;
/// This method inserts names for any unnamed structure types that are used by
/// the program, and removes names from structure types that are not used by the
More information about the llvm-commits
mailing list