]> granicus.if.org Git - clang/commitdiff
Adjust casing of attributes in examples.
authorTed Kremenek <kremenek@apple.com>
Thu, 27 Jan 2011 22:00:02 +0000 (22:00 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 27 Jan 2011 22:00:02 +0000 (22:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124445 91177308-0d34-0410-b5e6-96231b3b80d8

www/analyzer/annotations.html

index 757209f29ea0240cdd0120c65b313aee14df42ba..b33b4bfcdde93223c1a9c57bff8f624ab42d5f2c 100644 (file)
@@ -376,7 +376,7 @@ the <a href="#attr_cf_consumed">cf_consumed</a> attribute instead.</p>
 
 #ifndef NS_CONSUMED
 #if __has_feature(attribute_ns_consumed)
-<span class="code_highlight">#define NS_CONSUMED __attribute__((NS_CONSUMED))</span>
+<span class="code_highlight">#define NS_CONSUMED __attribute__((ns_consumed))</span>
 #else
 #define NS_CONSUMED
 #endif
@@ -428,7 +428,7 @@ collection (which is import for Core Foundation types, which are not automatical
 
 #ifndef CF_CONSUMED
 #if __has_feature(attribute_cf_consumed)
-<span class="code_highlight">#define CF_CONSUMED __attribute__((CF_CONSUMED))</span>
+<span class="code_highlight">#define CF_CONSUMED __attribute__((cf_consumed))</span>
 #else
 #define CF_CONSUMED
 #endif