/external/clang/test/SemaObjC/ |
D | attr-objc-gc.m | 2 static id __attribute((objc_gc(weak))) a; function 3 static id __attribute((objc_gc(strong))) b; function 5 static id __attribute((objc_gc())) c; // expected-error{{'objc_gc' attribute requires a string}} function 6 static id __attribute((objc_gc(123))) d; // expected-error{{'objc_gc' attribute requires a string}} function 7 static id __attribute((objc_gc(foo, 456))) e; // expected-error{{'objc_gc' attribute takes one argu… function 8 static id __attribute((objc_gc(hello))) f; // expected-warning{{'objc_gc' attribute argument not su… function
|
D | attr-malloc.m | 4 - (id) test1 __attribute((malloc)); // expected-warning {{attribute only applies to functions}} method 5 - (int) test2 __attribute((malloc)); // expected-warning {{attribute only applies to functions}} method 8 id bar(void) __attribute((malloc)); // no-warning function 11 bptr baz(void) __attribute((malloc)); // no-warning function 13 __attribute((malloc)) id (*f)(); // expected-warning {{attribute only applies to functions}} function 14 __attribute((malloc)) bptr (*g)(); // expected-warning {{attribute only applies to functions}} function 15 __attribute((malloc)) void *(^h)(); // expected-warning {{attribute only applies to functions}} function
|
D | protocol-attribute.m | 3 __attribute ((unavailable)) function 41 __attribute ((unavailable)) __attribute ((deprecated)) @protocol XProto; // expected-note{{marked u… function
|
D | super-dealloc-attribute.m | 16 - MyDealloc __attribute((objc_requires_super)); method 17 - (void)XXX __attribute((objc_requires_super)); method 18 - (void) dealloc __attribute((objc_requires_super)); // expected-warning {{'objc_requires_super' at… method 20 - (void) AnnotMyDeallocMeth __attribute((objc_requires_super)); method 28 - (void) MyDeallocMeth __attribute((objc_requires_super)); // 'Baz' author has annotated method method 30 - (void) AnnotMeth __attribute((objc_requires_super)); // 'Baz' author has annotated method method 61 - (void) AnnotMethCAT __attribute((objc_requires_super)); method in CAT
|
D | default-synthesize-3.m | 5 __attribute ((objc_requires_property_definitions)) function 15 __attribute ((objc_requires_property_definitions)) // redundant, just for testing function 36 __attribute ((objc_requires_property_definitions)) function 40 __attribute ((objc_requires_property_definitions)) // expected-error {{'objc_requires_property_defi… function 157 __attribute ((objc_requires_property_definitions(1))) // expected-error {{'objc_requires_property_d… function
|
D | attr-deprecated.m | 86 __attribute ((deprecated)) function 134 footype b __attribute((deprecated)); field 137 @property footype d __attribute((deprecated)); property
|
D | special-dep-unavail-warning.m | 47 __attribute ((deprecated)) function
|
D | boxing-illegal.m | 69 __attribute((objc_root_class)) @interface rdar13333205 @end function
|
/external/clang/test/Sema/ |
D | attr-mode.c | 10 typedef int i16_1 __attribute((mode(HI))); typedef 12 typedef int i16_2 __attribute((__mode__(__HI__))); typedef 15 typedef float f64 __attribute((mode(DF))); typedef 18 typedef int invalid_1 __attribute((mode)); // expected-error{{'mode' attribute takes one argument}} typedef 19 typedef int invalid_2 __attribute((mode())); // expected-error{{'mode' attribute takes one argument… typedef 20 typedef int invalid_3 __attribute((mode(II))); // expected-error{{unknown machine mode}} typedef 21 typedef struct {int i,j,k;} invalid_4 __attribute((mode(SI))); // expected-error{{mode attribute on… typedef 22 typedef float invalid_5 __attribute((mode(SI))); // expected-error{{type of machine mode does not m… typedef 25 typedef unsigned unwind_word __attribute((mode(unwind_word))); typedef 32 typedef _Complex double c32 __attribute((mode(SC))); typedef [all …]
|
D | altivec-init.c | 3 typedef int v4 __attribute((vector_size(16))); typedef 4 typedef short v8 __attribute((vector_size(16))); typedef
|
D | attr-deprecated.c | 124 typedef int test23_ty __attribute((deprecated)); typedef
|
/external/clang/test/Analysis/ |
D | nonnull.m | 80 void multipleAttributes_1(char *p, char *q) __attribute((nonnull(1))) __attribute((nonnull(2))); function 102 void multipleAttributes_2(char *p, char *q) __attribute((nonnull(1))); function 103 void multipleAttributes_2(char *p, char *q) __attribute((nonnull(2))); function 120 void multipleAttributes_3(char *p, char *q) __attribute((nonnull(1))) __attribute((nonnull(1))); function 133 void multipleAttributes_4(char *p, char *q, char *r) __attribute((nonnull(1))) __attribute((nonnull… function 152 void multipleAttributes_all_1(char *p, char *q) __attribute((nonnull(1))) __attribute((nonnull)); function 165 void multipleAttributes_all_2(char *p, char *q) __attribute((nonnull)) __attribute((nonnull(2))); function
|
D | MismatchedDeallocator-checker-test.mm | 11 void __attribute((ownership_returns(malloc))) *my_malloc(size_t); function 14 void __attribute((ownership_takes(malloc, 1))) my_free(void *); function
|
/external/clang/test/CodeGen/ |
D | align-local.c | 3 typedef struct __attribute((aligned(16))) {int x[4];} ff; struct
|
D | const-init.c | 137 typedef long long v1i64 __attribute((vector_size(8))); in g28() typedef 138 typedef short v12i16 __attribute((vector_size(24))); in g28() typedef 139 typedef long double v2f80 __attribute((vector_size(24))); in g28() typedef
|
D | vector.c | 11 typedef int vty __attribute((vector_size(16))); typedef
|
D | compound-literal.c | 6 typedef int v4i32 __attribute((vector_size(16))); typedef
|
/external/clang/test/CodeGenObjC/ |
D | arc-weak.m | 3 __attribute((objc_root_class)) @interface A @end function
|
D | debug-info-ivars.m | 3 __attribute((objc_root_class)) @interface NSObject { function
|
D | debug-info-id-with-protocol.m | 2 __attribute((objc_root_class)) @interface NSObject { function
|
D | debug-info-ivars-private.m | 5 __attribute((objc_root_class)) @interface NSObject { function
|
/external/libcap-ng/libcap-ng-0.7/bindings/python/ |
D | capng_swig.i | 39 #define __attribute(X) /*nothing*/ macro
|
/external/clang/test/CodeGenObjCXX/ |
D | arc-weak.mm | 3 __attribute((objc_root_class)) @interface A @end function
|
/external/clang/test/SemaObjCXX/ |
D | warn-missing-super.mm | 4 __attribute((objc_root_class)) @interface NSObject function
|
/external/clang/test/CodeGenCXX/ |
D | copy-constructor-elim.cpp | 51 typedef V V_over_aligned __attribute((aligned(8))); typedef
|