]> granicus.if.org Git - clang/commitdiff
typo.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 30 Jun 2010 22:29:56 +0000 (22:29 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 30 Jun 2010 22:29:56 +0000 (22:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107342 91177308-0d34-0410-b5e6-96231b3b80d8

www/compatibility.html

index 09072b6a7c31fba56db8246dc1996e9c2cb557e8..fb47400e03466c4a030308d4e819ae4898661f50 100644 (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])