summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-08-10 04:09:06 +0000
committerDevang Patel <dpatel@apple.com>2010-08-10 04:09:06 +0000
commitb1e07b3f2a243cb18f33bc75998eac5d22a906b6 (patch)
treead5b162d4d92438d316b56b8e9a027601fab2f00 /llvm/lib/CodeGen/AsmPrinter
parent88f4ed9011425c0e423d3067d335d24274a43ba7 (diff)
downloadbcm5719-llvm-b1e07b3f2a243cb18f33bc75998eac5d22a906b6.tar.gz
bcm5719-llvm-b1e07b3f2a243cb18f33bc75998eac5d22a906b6.zip
Drop "const". It does not add value here.
llvm-svn: 110652
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp10
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 04bb1d456f8..c48cab7d7d1 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -502,7 +502,7 @@ void DwarfDebug::addBlock(DIE *Die, unsigned Attribute, unsigned Form,
/// addSourceLine - Add location information to specified debug information
/// entry.
-void DwarfDebug::addSourceLine(DIE *Die, const DIVariable V) {
+void DwarfDebug::addSourceLine(DIE *Die, DIVariable V) {
// Verify variable.
if (!V.Verify())
return;
@@ -517,7 +517,7 @@ void DwarfDebug::addSourceLine(DIE *Die, const DIVariable V) {
/// addSourceLine - Add location information to specified debug information
/// entry.
-void DwarfDebug::addSourceLine(DIE *Die, const DIGlobalVariable G) {
+void DwarfDebug::addSourceLine(DIE *Die, DIGlobalVariable G) {
// Verify global variable.
if (!G.Verify())
return;
@@ -532,7 +532,7 @@ void DwarfDebug::addSourceLine(DIE *Die, const DIGlobalVariable G) {
/// addSourceLine - Add location information to specified debug information
/// entry.
-void DwarfDebug::addSourceLine(DIE *Die, const DISubprogram SP) {
+void DwarfDebug::addSourceLine(DIE *Die, DISubprogram SP) {
// Verify subprogram.
if (!SP.Verify())
return;
@@ -552,7 +552,7 @@ void DwarfDebug::addSourceLine(DIE *Die, const DISubprogram SP) {
/// addSourceLine - Add location information to specified debug information
/// entry.
-void DwarfDebug::addSourceLine(DIE *Die, const DIType Ty) {
+void DwarfDebug::addSourceLine(DIE *Die, DIType Ty) {
// Verify type.
if (!Ty.Verify())
return;
@@ -569,7 +569,7 @@ void DwarfDebug::addSourceLine(DIE *Die, const DIType Ty) {
/// addSourceLine - Add location information to specified debug information
/// entry.
-void DwarfDebug::addSourceLine(DIE *Die, const DINameSpace NS) {
+void DwarfDebug::addSourceLine(DIE *Die, DINameSpace NS) {
// Verify namespace.
if (!NS.Verify())
return;
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 96f2f2cb2d0..989cd088494 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -338,11 +338,11 @@ private:
/// addSourceLine - Add location information to specified debug information
/// entry.
- void addSourceLine(DIE *Die, const DIVariable V);
- void addSourceLine(DIE *Die, const DIGlobalVariable G);
- void addSourceLine(DIE *Die, const DISubprogram SP);
- void addSourceLine(DIE *Die, const DIType Ty);
- void addSourceLine(DIE *Die, const DINameSpace NS);
+ void addSourceLine(DIE *Die, DIVariable V);
+ void addSourceLine(DIE *Die, DIGlobalVariable G);
+ void addSourceLine(DIE *Die, DISubprogram SP);
+ void addSourceLine(DIE *Die, DIType Ty);
+ void addSourceLine(DIE *Die, DINameSpace NS);
/// addAddress - Add an address attribute to a die based on the location
/// provided.
OpenPOWER on IntegriCloud