Return to Snippet

Revision: 35206
at November 4, 2010 03:18 by eaignr


Initial Code
#ifndef __has_feature      // Optional.
#define __has_feature(x) 0 // Compatibility with non-clang compilers.
#endif

#ifndef NS_RETURNS_NOT_RETAINED
#if __has_feature(attribute_ns_returns_not_retained)
#define NS_RETURNS_NOT_RETAINED __attribute__((ns_returns_not_retained))
#else
#define NS_RETURNS_NOT_RETAINED
#endif
#endif

Initial URL


Initial Description


Initial Title
Suppress false LLVM static analyzer positives

Initial Tags


Initial Language
Objective C