aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-01-27 22:00:02 +0000
committerTed Kremenek <kremenek@apple.com>2011-01-27 22:00:02 +0000
commit1e4162fb02058324d4866763f1be8d69a54f3b7c (patch)
treef7899ceea331631d8355dfe08186ae34ea783353
parent418df343bb50802586d20aae3b83e2eb44c6c828 (diff)
Adjust casing of attributes in examples.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124445 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--www/analyzer/annotations.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/analyzer/annotations.html b/www/analyzer/annotations.html
index 757209f29e..b33b4bfcdd 100644
--- a/www/analyzer/annotations.html
+++ b/www/analyzer/annotations.html
@@ -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