[llvm-commits] [llvm] r119380 - /llvm/trunk/include/llvm/MC/MCDwarf.h
Rafael Espindola
rafael.espindola at gmail.com
Tue Nov 16 12:56:24 PST 2010
Author: rafael
Date: Tue Nov 16 14:56:23 2010
New Revision: 119380
URL: http://llvm.org/viewvc/llvm-project?rev=119380&view=rev
Log:
Add const.
Modified:
llvm/trunk/include/llvm/MC/MCDwarf.h
Modified: llvm/trunk/include/llvm/MC/MCDwarf.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCDwarf.h?rev=119380&r1=119379&r2=119380&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCDwarf.h (original)
+++ llvm/trunk/include/llvm/MC/MCDwarf.h Tue Nov 16 14:56:23 2010
@@ -107,22 +107,22 @@
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; }
More information about the llvm-commits
mailing list