]> granicus.if.org Git - clang/commitdiff
Fix missing 'clang' in pragma example in ARC doc.
authorTed Kremenek <kremenek@apple.com>
Thu, 30 Aug 2012 19:26:58 +0000 (19:26 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 30 Aug 2012 19:26:58 +0000 (19:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162933 91177308-0d34-0410-b5e6-96231b3b80d8

docs/AutomaticReferenceCounting.html

index 5cacbd5e3d0c407c1d165db08d7fd3cc96e4b629..5354f8af34667ca0fbf466b075a81c9a09949c9a 100644 (file)
@@ -1904,9 +1904,9 @@ and <tt>cf_unknown_transfer</tt>.</p>
 
 <p>A pragma is provided to facilitate the mass annotation of interfaces:</p>
 
-<pre>#pragma arc_cf_code_audited begin
+<pre>#pragma clang arc_cf_code_audited begin
 ...
-#pragma arc_cf_code_audited end</pre>
+#pragma clang arc_cf_code_audited end</pre>
 
 <p>All C functions declared within the extent of this pragma are
 treated as if annotated with the <tt>cf_audited_transfer</tt>