/external/clang/test/SemaObjC/ |
D | special-dep-unavail-warning.m | 6 - (void) unavailMeth __attribute__((unavailable)); // expected-note {{has been explicitly marked un… method 7 - (void) depInA1 __attribute__((deprecated)); method 9 - (void) depInA2 __attribute__((deprecated)); method 10 - (void) unavailMeth2 __attribute__((unavailable)); // expected-note {{has been explicitly marked u… method 12 - (void) depunavailInA1 __attribute__((deprecated)) __attribute__((unavailable)); // expected-note … method 13 - (void)FuzzyMeth __attribute__((deprecated)); method 14 - (void)FuzzyMeth1 __attribute__((unavailable)); method 18 - (void) unavailMeth1 __attribute__((unavailable)); // expected-note {{has been explicitly marked u… method 19 - (void) depInA __attribute__((deprecated)); method 20 - (void) depInA2 __attribute__((deprecated)); method [all …]
|
D | format-arg-attribute.m | 5 extern NSString *fa2 (const NSString *) __attribute__((format_arg(1))); function 6 extern NSString *fa3 (NSString *) __attribute__((format_arg(1))); function 8 extern void fc1 (const NSString *) __attribute__((format_arg)); // expected-error {{attribute take… function 9 extern void fc2 (const NSString *) __attribute__((format_arg())); // expected-error {{attribute tak… function 10 extern void fc3 (const NSString *) __attribute__((format_arg(1, 2))); // expected-error {{attribute… function 12 struct s1 { int i; } __attribute__((format_arg(1))); // expected-warning {{'format_arg' attribute … function 13 union u1 { int i; } __attribute__((format_arg(1))); // expected-warning {{'format_arg' attribute o… function 14 enum e1 { E1V0 } __attribute__((format_arg(1))); // expected-warning {{'format_arg' attribute only … function 16 extern NSString *ff3 (const NSString *) __attribute__((format_arg(3-2))); function 17 extern NSString *ff4 (const NSString *) __attribute__((format_arg(foo))); // expected-error {{attri… function [all …]
|
D | nonnull.m | 9 int f2(int *x) __attribute__ ((nonnull (1))); function 10 int f3(int *x) __attribute__ ((nonnull (0))); // expected-error {{'nonnull' attribute parameter 1 i… function 11 int f4(int *x, int *y) __attribute__ ((nonnull (1,2))); function 12 int f5(int *x, int *y) __attribute__ ((nonnull (2,1))); function 13 int f6(NSObject *x) __attribute__ ((nonnull (1))); // no-warning function 14 int f7(NSObject *x) __attribute__ ((nonnull)); // no-warning function 17 extern void func1 (void (^block1)(), void (^block2)(), int) __attribute__((nonnull)); function 20 __attribute__((nonnull(1,3))); function 22 extern void func4 (void (^block1)(), void (^block2)()) __attribute__((nonnull(1))) function 23 __attribute__((nonnull(2))); function [all …]
|
D | attr-ns-bridged.m | 3 typedef struct __attribute__((ns_bridged)) test0s *test0ref; struct 5 void test0func(void) __attribute__((ns_bridged)); // expected-error {{'ns_bridged' attribute only a… function 7 union __attribute__((ns_bridged)) test0u; // expected-error {{'ns_bridged' attribute only applies t… function 9 struct __attribute__((ns_bridged(Test1))) test1s; struct 12 struct __attribute__((ns_bridged(Test2))) test2s; struct 15 struct __attribute__((ns_bridged(Test3))) test3s; // expected-error {{parameter of 'ns_bridged' att… struct
|
D | property-ns-returns-not-retained-attr.m | 5 @property (nonatomic, retain) id newName __attribute__((ns_returns_not_retained)) ; property 7 @property (nonatomic, retain) id newName1 __attribute__((ns_returns_not_retained)) ; property 8 - (id) newName1 __attribute__((ns_returns_not_retained)); method 10 @property (nonatomic, retain) id newName2 __attribute__((ns_returns_not_retained)); // expected-not… property
|
D | method-warn-unused-attribute.m | 4 - (id) foo __attribute__((warn_unused_result)); method 5 - (void) garf __attribute__((warn_unused_result)); // expected-warning {{attribute 'warn_unused_res… method 6 - (int) fee __attribute__((warn_unused_result)); method 7 + (int) c __attribute__((warn_unused_result)); class
|
D | attr-objc-exception.m | 3 __attribute__((__objc_exception__)) function 11 __attribute__((__objc_exception__)) // expected-error {{attribute may only be applied to an Objecti… function 14 __attribute__((__objc_exception__)) // expected-error {{attribute may only be applied to an Objecti… function
|
D | attr-deprecated.m | 4 int X __attribute__((deprecated)); field 6 + (void)F __attribute__((deprecated)); class 7 - (void)f __attribute__((deprecated)); method 12 { 45 - (void)p __attribute__((deprecated)); method 74 @property (assign, setter = MySetter:) int FooBar __attribute__ ((deprecated)); property 110 @property int test2 __attribute__((deprecated)); property 121 __attribute__((deprecated)) function
|
D | no-warning-unavail-unimp.m | 5 @property (getter=getVal) int val __attribute__((unavailable)); property 6 - Method __attribute__((unavailable)); method 7 + CMethod __attribute__((unavailable)); class
|
D | warn-deprecated-implementations.m | 5 - (void) D __attribute__((deprecated)); // expected-note {{method 'D' declared here}} method 9 + (void)F __attribute__((deprecated)); // expected-note {{method 'F' declared here}} class 22 __attribute__((deprecated)) function 37 - (void) B __attribute__((deprecated)); // expected-note {{method 'B' declared here}} method
|
D | arc-unavailable-for-weakref.m | 4 __attribute__((objc_arc_weak_reference_unavailable)) function 23 __attribute__((objc_arc_weak_reference_unavailable)) function 52 __attribute__((objc_arc_weak_reference_unavailable)) function
|
D | ignore-weakimport-method.m | 3 + (void) cx __attribute__((weak_import)); class 4 - (void) x __attribute__((weak_import)); method
|
D | attr-root-class.m | 8 __attribute__((objc_root_class)) function 14 __attribute__((objc_root_class)) static void nonClassDeclaration() // expected-error {{attribute m… function
|
/external/clang/test/CodeGenObjC/ |
D | deadcode_strip_used_var.m | 7 __attribute__((used)) static int XXXXXX __attribute__ ((section ("__DATA,__Xinterpose"))) ; function 8 __attribute__((used)) static int YYYY __attribute__ ((section ("__DATA,__Xinterpose"))) ; function
|
D | objc2-weak-import-attribute.m | 3 __attribute__((weak_import)) @interface WeakRootClass @end function 5 __attribute__((weak_import)) @interface WeakClass : WeakRootClass function 15 __attribute__((weak_import)) function 22 __attribute__((weak_import)) function 38 __attribute__((weak_import)) @interface Root @end function
|
D | overloadable.m | 7 void __attribute__((overloadable)) f(id c) { } function 10 void __attribute__((overloadable)) f(C *c) { } function
|
D | arc-unbridged-cast.m | 8 - (CFStringRef) CFMeth __attribute__((cf_returns_retained)); method 10 - (CFStringRef) P __attribute__((cf_returns_retained)); method 28 CFStringRef SomeOtherFunc() __attribute__((cf_returns_retained)); function
|
D | hidden.m | 3 __attribute__((visibility("hidden"))) function 12 __attribute__((visibility("default"))) function
|
/external/clang/test/Parser/ |
D | prefix-attributes.m | 3 __attribute__((deprecated)) @class B; // expected-error {{prefix attribute must be followed by an i… function 5 __attribute__((deprecated)) @interface A @end function 6 __attribute__((deprecated)) @protocol P0; function
|
D | objc-category-neg-1.m | 3 void __assert_rtn(const char *, const char *, int, const char *) __attribute__((__noreturn__)); function 4 static __inline__ int __inline_isfinitef (float ) __attribute__ ((always_inline)); function
|
/external/webkit/Tools/WebKitLauncher/ |
D | WebKitNightlyEnabler.m | 33 static void enableWebKitNightlyBehaviour() __attribute__ ((constructor)); function 119 extern char **_CFGetProcessPath() __attribute__((weak)); function 120 …pplication(CFDictionaryRef additionalAppInfoRef, ProcessSerialNumber* myPSN) __attribute__((weak)); function
|
/external/clang/test/CodeGenObjCXX/ |
D | arc-returns-inner-reference-ptr.mm | 5 - (char* &) interior __attribute__((objc_returns_inner_pointer)); method 6 - (int&)reference_to_interior_int __attribute__((objc_returns_inner_pointer)); method
|
/external/clang/test/SemaObjCXX/ |
D | arc-memfunc.mm | 4 static id makeObject1() __attribute__((ns_returns_retained)); field 5 id makeObject2() __attribute__((ns_returns_retained)); field
|
/external/clang/test/Index/ |
D | index-attrs.m | 7 -(id)prop __attribute__((annotate("anno"))); method 9 @property (assign) id prop __attribute__((annotate("anno"))); property
|
/external/clang/test/Analysis/ |
D | blocks.m | 13 __attribute__((visibility("default"))) __attribute__((__malloc__)) __attribute__((__warn_unused_res… function 40 int asl_log(aslclient asl, aslmsg msg, int level, const char *format, ...) __attribute__((__format_… function
|