Add 'const' qualifier on member functions not changing its fields.
llvm-svn: 166708
This commit is contained in:
parent
1c1395e902
commit
8cdb7ede80
|
@ -96,9 +96,9 @@ public:
|
|||
|
||||
/// @name Accessors
|
||||
/// @{
|
||||
uint8_t getOSABI() { return OSABI; }
|
||||
uint16_t getEMachine() { return EMachine; }
|
||||
bool hasRelocationAddend() { return HasRelocationAddend; }
|
||||
uint8_t getOSABI() const { return OSABI; }
|
||||
uint16_t getEMachine() const { return EMachine; }
|
||||
bool hasRelocationAddend() const { return HasRelocationAddend; }
|
||||
bool is64Bit() const { return Is64Bit; }
|
||||
bool isN64() const { return IsN64; }
|
||||
/// @}
|
||||
|
|
Loading…
Reference in New Issue