diff options
author | Adrian Prantl <aprantl@apple.com> | 2014-04-01 03:40:59 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2014-04-01 03:40:59 +0000 |
commit | c3264f393d527ccc6d5929a47ac251ea44405fef (patch) | |
tree | ae74fe93aad804c9d41865b0aaac4f843a8b7a9c | |
parent | 3a176ed16d65e1ae08daa42e7145581817faebfa (diff) | |
download | bcm5719-llvm-c3264f393d527ccc6d5929a47ac251ea44405fef.tar.gz bcm5719-llvm-c3264f393d527ccc6d5929a47ac251ea44405fef.zip |
Add a comment about type-uniquing ObjC types.
llvm-svn: 205277
-rw-r--r-- | llvm/include/llvm/IR/DebugInfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/IR/DebugInfo.h b/llvm/include/llvm/IR/DebugInfo.h index 1d9ff9f361b..f2f935ae097 100644 --- a/llvm/include/llvm/IR/DebugInfo.h +++ b/llvm/include/llvm/IR/DebugInfo.h @@ -767,6 +767,8 @@ public: return (getUnsignedField(6) & dwarf::DW_APPLE_PROPERTY_nonatomic) != 0; } + /// Objective-C doesn't have an ODR, so there is no benefit in storing + /// the type as a DITypeRef here. DIType getType() const { return getFieldAs<DIType>(7); } /// Verify - Verify that a derived type descriptor is well formed. |