Add a comment about type-uniquing ObjC types.

llvm-svn: 205277
This commit is contained in:
Adrian Prantl 2014-04-01 03:40:59 +00:00
parent 3a176ed16d
commit c3264f393d
1 changed files with 2 additions and 0 deletions

View 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.