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 | e977127a9debc2ec19024ae9a1aa00108f18a7e3 (patch) | |
tree | e445e66795c51197f78ae78af2f4140ae99f9f60 /include/llvm/IR | |
parent | e94fe0423ebf179837a06efc6afcb58ccfad7bc7 (diff) | |
download | llvm-e977127a9debc2ec19024ae9a1aa00108f18a7e3.tar.gz llvm-e977127a9debc2ec19024ae9a1aa00108f18a7e3.tar.bz2 llvm-e977127a9debc2ec19024ae9a1aa00108f18a7e3.tar.xz |
Add a comment about type-uniquing ObjC types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR')
-rw-r--r-- | include/llvm/IR/DebugInfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/IR/DebugInfo.h b/include/llvm/IR/DebugInfo.h index 1d9ff9f361..f2f935ae09 100644 --- a/include/llvm/IR/DebugInfo.h +++ b/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. |