From: Ted Kremenek Date: Thu, 27 Jan 2011 22:00:02 +0000 (+0000) Subject: Adjust casing of attributes in examples. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e4162fb02058324d4866763f1be8d69a54f3b7c;p=clang Adjust casing of attributes in examples. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124445 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 cf_consumed attribute instead.

#ifndef NS_CONSUMED #if __has_feature(attribute_ns_consumed) -#define NS_CONSUMED __attribute__((NS_CONSUMED)) +#define NS_CONSUMED __attribute__((ns_consumed)) #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) -#define CF_CONSUMED __attribute__((CF_CONSUMED)) +#define CF_CONSUMED __attribute__((cf_consumed)) #else #define CF_CONSUMED #endif