Add a comment about type-uniquing ObjC types.
authorAdrian Prantl <aprantl@apple.com>
Tue, 1 Apr 2014 03:40:59 +0000 (03:40 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 1 Apr 2014 03:40:59 +0000 (03:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205277 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/DebugInfo.h

index 1d9ff9f361bde80bdcda6c5f9a42aad25024b7b1..f2f935ae0975f5bf207ac69006d2d2c68f53b54e 100644 (file)
@@ -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.