projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c1395e
)
Add 'const' qualifier on member functions not changing its fields.
author
Michael Liao
<michael.liao@intel.com>
Thu, 25 Oct 2012 18:35:04 +0000
(18:35 +0000)
committer
Michael Liao
<michael.liao@intel.com>
Thu, 25 Oct 2012 18:35:04 +0000
(18:35 +0000)
llvm-svn: 166708
llvm/include/llvm/MC/MCELFObjectWriter.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/MC/MCELFObjectWriter.h
b/llvm/include/llvm/MC/MCELFObjectWriter.h
index
4ffea8d
..
38cdc72
100644
(file)
--- a/
llvm/include/llvm/MC/MCELFObjectWriter.h
+++ b/
llvm/include/llvm/MC/MCELFObjectWriter.h
@@
-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; }
/// @}