Add const.

llvm-svn: 119380
This commit is contained in:
Rafael Espindola 2010-11-16 20:56:23 +00:00
parent 3edb16765d
commit a9e9593d49
1 changed files with 6 additions and 6 deletions

View File

@ -107,22 +107,22 @@ namespace llvm {
public: public:
/// getFileNum - Get the FileNum of this MCDwarfLoc. /// getFileNum - Get the FileNum of this MCDwarfLoc.
unsigned getFileNum() { return FileNum; } unsigned getFileNum() const { return FileNum; }
/// getLine - Get the Line of this MCDwarfLoc. /// getLine - Get the Line of this MCDwarfLoc.
unsigned getLine() { return Line; } unsigned getLine() const { return Line; }
/// getColumn - Get the Column of this MCDwarfLoc. /// getColumn - Get the Column of this MCDwarfLoc.
unsigned getColumn() { return Column; } unsigned getColumn() const { return Column; }
/// getFlags - Get the Flags of this MCDwarfLoc. /// getFlags - Get the Flags of this MCDwarfLoc.
unsigned getFlags() { return Flags; } unsigned getFlags() const { return Flags; }
/// getIsa - Get the Isa of this MCDwarfLoc. /// getIsa - Get the Isa of this MCDwarfLoc.
unsigned getIsa() { return Isa; } unsigned getIsa() const { return Isa; }
/// getDiscriminator - Get the Discriminator of this MCDwarfLoc. /// getDiscriminator - Get the Discriminator of this MCDwarfLoc.
unsigned getDiscriminator() { return Discriminator; } unsigned getDiscriminator() const { return Discriminator; }
/// setFileNum - Set the FileNum of this MCDwarfLoc. /// setFileNum - Set the FileNum of this MCDwarfLoc.
void setFileNum(unsigned fileNum) { FileNum = fileNum; } void setFileNum(unsigned fileNum) { FileNum = fileNum; }