[llvm] r183546 - No functionality change.
Manman Ren
mren at apple.com
Fri Jun 7 11:53:30 PDT 2013
Author: mren
Date: Fri Jun 7 13:53:29 2013
New Revision: 183546
URL: http://llvm.org/viewvc/llvm-project?rev=183546&view=rev
Log:
No functionality change.
Constify a few member functions.
Modified:
llvm/trunk/include/llvm/DebugInfo.h
Modified: llvm/trunk/include/llvm/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo.h?rev=183546&r1=183545&r2=183546&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/DebugInfo.h Fri Jun 7 13:53:29 2013
@@ -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;
}
More information about the llvm-commits
mailing list