llvm-svn: 107342
This commit is contained in:
Benjamin Kramer 2010-06-30 22:29:56 +00:00
parent e74c78d539
commit aab931dd32
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ sizeof.m:4:14: error: invalid application of 'sizeof' to interface 'NSArray' in
<p>Code that relies on the size of an Objective-C class is likely to
be broken anyway, since that size is not actually constant. To address
this problem, use the Objective-C runtime API function
<code>clang_getInstanceSize()</code>:</p>
<code>class_getInstanceSize()</code>:</p>
<pre>
class_getInstanceSize([NSArray class])