Home
last modified time | relevance | path

Searched defs:__attribute (Results 1 – 25 of 32) sorted by relevance

12

/external/clang/test/SemaObjC/
Dattr-objc-gc.m2 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
Dattr-malloc.m4 - (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
Dprotocol-attribute.m3 __attribute ((unavailable)) function
41 __attribute ((unavailable)) __attribute ((deprecated)) @protocol XProto; // expected-note{{marked u… function
Dsuper-dealloc-attribute.m16 - 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
Ddefault-synthesize-3.m5 __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
Dattr-deprecated.m86 __attribute ((deprecated)) function
134 footype b __attribute((deprecated)); field
137 @property footype d __attribute((deprecated)); property
Dspecial-dep-unavail-warning.m47 __attribute ((deprecated)) function
Dboxing-illegal.m69 __attribute((objc_root_class)) @interface rdar13333205 @end function
/external/clang/test/Sema/
Dattr-mode.c10 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 …]
Daltivec-init.c3 typedef int v4 __attribute((vector_size(16))); typedef
4 typedef short v8 __attribute((vector_size(16))); typedef
Dattr-deprecated.c124 typedef int test23_ty __attribute((deprecated)); typedef
/external/clang/test/Analysis/
Dnonnull.m80 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
DMismatchedDeallocator-checker-test.mm11 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/
Dalign-local.c3 typedef struct __attribute((aligned(16))) {int x[4];} ff; argument
Dconst-init.c137 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
Dvector.c11 typedef int vty __attribute((vector_size(16))); typedef
Dcompound-literal.c6 typedef int v4i32 __attribute((vector_size(16))); typedef
/external/clang/test/CodeGenObjC/
Darc-weak.m3 __attribute((objc_root_class)) @interface A @end function
Ddebug-info-ivars.m3 __attribute((objc_root_class)) @interface NSObject { function
Ddebug-info-id-with-protocol.m2 __attribute((objc_root_class)) @interface NSObject { function
Ddebug-info-ivars-private.m5 __attribute((objc_root_class)) @interface NSObject { function
/external/libcap-ng/libcap-ng-0.7/bindings/python/
Dcapng_swig.i39 #define __attribute(X) /*nothing*/ macro
/external/clang/test/CodeGenObjCXX/
Darc-weak.mm3 __attribute((objc_root_class)) @interface A @end function
/external/clang/test/SemaObjCXX/
Dwarn-missing-super.mm4 __attribute((objc_root_class)) @interface NSObject function
/external/clang/test/CodeGenCXX/
Dcopy-constructor-elim.cpp51 typedef V V_over_aligned __attribute((aligned(8))); typedef

12