summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-11-16 20:56:23 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-11-16 20:56:23 +0000
commita9e9593d4920dd52704a045c744ea978756b6123 (patch)
tree34ca9c40301afc1586b0472ef818511e41a3e183
parent3edb16765d8ebf2cc73c5d0fe9d6b0290f707dcf (diff)
downloadbcm5719-llvm-a9e9593d4920dd52704a045c744ea978756b6123.tar.gz
bcm5719-llvm-a9e9593d4920dd52704a045c744ea978756b6123.zip
Add const.
llvm-svn: 119380
-rw-r--r--llvm/include/llvm/MC/MCDwarf.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/include/llvm/MC/MCDwarf.h b/llvm/include/llvm/MC/MCDwarf.h
index 609d819626f..6bcb751a2d1 100644
--- a/llvm/include/llvm/MC/MCDwarf.h
+++ b/llvm/include/llvm/MC/MCDwarf.h
@@ -107,22 +107,22 @@ namespace llvm {
public:
/// getFileNum - Get the FileNum of this MCDwarfLoc.
- unsigned getFileNum() { return FileNum; }
+ unsigned getFileNum() const { return FileNum; }
/// getLine - Get the Line of this MCDwarfLoc.
- unsigned getLine() { return Line; }
+ unsigned getLine() const { return Line; }
/// getColumn - Get the Column of this MCDwarfLoc.
- unsigned getColumn() { return Column; }
+ unsigned getColumn() const { return Column; }
/// getFlags - Get the Flags of this MCDwarfLoc.
- unsigned getFlags() { return Flags; }
+ unsigned getFlags() const { return Flags; }
/// getIsa - Get the Isa of this MCDwarfLoc.
- unsigned getIsa() { return Isa; }
+ unsigned getIsa() const { return Isa; }
/// getDiscriminator - Get the Discriminator of this MCDwarfLoc.
- unsigned getDiscriminator() { return Discriminator; }
+ unsigned getDiscriminator() const { return Discriminator; }
/// setFileNum - Set the FileNum of this MCDwarfLoc.
void setFileNum(unsigned fileNum) { FileNum = fileNum; }
OpenPOWER on IntegriCloud