aboutsummaryrefslogtreecommitdiffstats
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
commit342e39f9e55d3f4465748c9ab84bf27df7a92478 (patch)
tree784f0f3430337811856bb62fe9fef01c5f4ff0be
parentf4840c07f84d018c4de5dbdad4166b9e162f8f89 (diff)
downloadexternal_llvm-342e39f9e55d3f4465748c9ab84bf27df7a92478.zip
external_llvm-342e39f9e55d3f4465748c9ab84bf27df7a92478.tar.gz
external_llvm-342e39f9e55d3f4465748c9ab84bf27df7a92478.tar.bz2
Add const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119380 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/MC/MCDwarf.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/MC/MCDwarf.h b/include/llvm/MC/MCDwarf.h
index 609d819..6bcb751 100644
--- a/include/llvm/MC/MCDwarf.h
+++ b/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; }