From: Adrian Prantl Date: Tue, 1 Apr 2014 03:40:59 +0000 (+0000) Subject: Add a comment about type-uniquing ObjC types. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e977127a9debc2ec19024ae9a1aa00108f18a7e3;p=oota-llvm.git 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 --- diff --git a/include/llvm/IR/DebugInfo.h b/include/llvm/IR/DebugInfo.h index 1d9ff9f361b..f2f935ae097 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(7); } /// Verify - Verify that a derived type descriptor is well formed.