diff options
author | Manman Ren <mren@apple.com> | 2013-06-07 18:53:29 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2013-06-07 18:53:29 +0000 |
commit | eda4b8e674d51534a0ddbf86d6153ec2f40eb790 (patch) | |
tree | 9f77da6e1030b6f5dd1bef842e24957d3c945d1b /include | |
parent | fcca6c690cc86123f175582772cb1554cc7e8d81 (diff) | |
download | external_llvm-eda4b8e674d51534a0ddbf86d6153ec2f40eb790.zip external_llvm-eda4b8e674d51534a0ddbf86d6153ec2f40eb790.tar.gz external_llvm-eda4b8e674d51534a0ddbf86d6153ec2f40eb790.tar.bz2 |
No functionality change.
Constify a few member functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183546 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/DebugInfo.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 4de7721..61d0681 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -648,22 +648,22 @@ namespace llvm { StringRef getObjCPropertySetterName() const { return getStringField(5); } - bool isReadOnlyObjCProperty() { + bool isReadOnlyObjCProperty() const { return (getUnsignedField(6) & dwarf::DW_APPLE_PROPERTY_readonly) != 0; } - bool isReadWriteObjCProperty() { + bool isReadWriteObjCProperty() const { return (getUnsignedField(6) & dwarf::DW_APPLE_PROPERTY_readwrite) != 0; } - bool isAssignObjCProperty() { + bool isAssignObjCProperty() const { return (getUnsignedField(6) & dwarf::DW_APPLE_PROPERTY_assign) != 0; } - bool isRetainObjCProperty() { + bool isRetainObjCProperty() const { return (getUnsignedField(6) & dwarf::DW_APPLE_PROPERTY_retain) != 0; } - bool isCopyObjCProperty() { + bool isCopyObjCProperty() const { return (getUnsignedField(6) & dwarf::DW_APPLE_PROPERTY_copy) != 0; } - bool isNonAtomicObjCProperty() { + bool isNonAtomicObjCProperty() const { return (getUnsignedField(6) & dwarf::DW_APPLE_PROPERTY_nonatomic) != 0; } |