/llvm-project/clang/test/SemaObjC/ |
H A 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)(void); // expected-warning {{attribute only applies to functions}} function 14 __attribute((malloc)) bptr (*g)(void); // expected-warning {{attribute only applies to functions}} function 15 __attribute((malloc)) void *(^h)(void); // expected-warning {{attribute only applies to functions}} function
|
H A 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
|
H A D | protocol-attribute.m | 3 __attribute ((unavailable)) function 41 __attribute ((unavailable)) __attribute ((deprecated)) @protocol XProto; // expected-note{{marked u… function
|
H A D | super-dealloc-attribute.m | 15 - MyDealloc __attribute((objc_requires_super)); method 16 - (void)XXX __attribute((objc_requires_super)); method 17 - (void) dealloc __attribute((objc_requires_super)); // expected-warning {{'objc_requires_super' at… method 19 - (void) AnnotMyDeallocMeth __attribute((objc_requires_super)); method 27 - (void) MyDeallocMeth __attribute((objc_requires_super)); // 'Baz' author has annotated method method 29 - (void) AnnotMeth __attribute((objc_requires_super)); // 'Baz' author has annotated method method 60 - (void) AnnotMethCAT __attribute((objc_requires_super)); method in CAT
|
H A 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)) // expected-error {{'objc_requires_property_defi… function 40 __attribute ((objc_requires_property_definitions)) // expected-error {{'objc_requires_property_defi… function 154 __attribute ((objc_requires_property_definitions(1))) // expected-error {{'objc_requires_property_d… function
|
/llvm-project/clang/test/CodeGen/ |
H A D | aarch64-attr-mode-complex.c |
|
H A D | aarch64-attr-mode-float.c |
|
H A D | align-local.c | 3 typedef struct __attribute((aligned(16))) {int x[4];} ff; argument
|
H A D | flexible-array-init.c | 20 struct __attribute((packed, aligned(4))) { char a; int x; char z[]; } d = { 1, 2, { 13, 15 } }; argument 24 struct __attribute((packed, aligned(4))) { char a; int x; char z[]; } e = { 1, 2, { 13, 15, 17, 19 } }; argument 30 struct __attribute((packed)) { short a; char z[]; } g = { 2, { 11, 13, 15 } }; argument
|
H A D | builtins-wasm.c | 6 typedef signed char i8x16 __attribute((vector_size(16))); typedef 7 typedef short i16x8 __attribute((vector_size(16))); typedef 8 typedef int i32x4 __attribute((vector_size(16))); typedef 9 typedef long long i64x2 __attribute((vector_size(16))); typedef 10 typedef unsigned char u8x16 __attribute((vector_size(16))); typedef 11 typedef unsigned short u16x8 __attribute((vector_size(16))); typedef 12 typedef unsigned int u32x4 __attribute((vector_size(16))); typedef 13 typedef unsigned long long u64x2 __attribute((vector_size(16))); typedef 14 typedef __fp16 f16x8 __attribute((vector_size(16))); typedef 15 typedef float f32x4 __attribute((vector_siz typedef 16 typedef double f64x2 __attribute((vector_size(16))); global() typedef [all...] |
/llvm-project/clang/test/Sema/ |
H A D | attr-mode.c | 18 typedef int i16_1 __attribute((mode(HI))); typedef 20 typedef int i16_2 __attribute((__mode__(__HI__))); typedef 23 typedef float f64 __attribute((mode(DF))); typedef 26 typedef int invalid_1 __attribute((mode)); // expected-error{{'mode' attribute takes one argument}} typedef 27 typedef int invalid_2 __attribute((mode())); // expected-error{{'mode' attribute takes one argument… typedef 28 typedef int invalid_3 __attribute((mode(II))); // expected-error{{unknown machine mode}} typedef 29 typedef struct {int i,j,k;} invalid_4 __attribute((mode(SI))); // expected-error{{mode attribute on… typedef 30 typedef float invalid_5 __attribute((mode(SI))); // expected-error{{type of machine mode does not m… typedef 33 typedef unsigned unwind_word __attribute((mode(unwind_word))); typedef 40 typedef _Complex float c16a __attribute((mode(HC))); typedef [all …]
|
H A D | conditional.c | 25 typedef float mat4 __attribute((matrix_type(4, 4))); in GH69008() typedef 26 typedef float mat5 __attribute((matrix_type(5, 5))); in GH69008() typedef
|
H A D | altivec-init.c | 3 typedef int v4 __attribute((vector_size(16))); typedef 4 typedef short v8 __attribute((vector_size(16))); typedef
|
H A D | attr-handles.cpp | 19 int __attribute((acquire_handle("Fuchsia"))) ta; // expected-warning {{'acquire_handle' attribute o… variable
|
/llvm-project/clang/test/Analysis/ |
H A 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
|
H A D | MismatchedDeallocator-checker-test.mm | 12 void __attribute((ownership_returns(malloc))) *my_malloc(size_t); function 15 void __attribute((ownership_takes(malloc, 1))) my_free(void *); function
|
/llvm-project/compiler-rt/test/msan/ |
H A D | libatomic.c | 12 typedef struct __attribute((packed)) { struct 13 uint8_t val[3];
|
H A D | libatomic_load_exceptions.cpp | 10 typedef struct __attribute((packed)) { struct 11 uint8_t val[3];
|
/llvm-project/clang/test/SemaCXX/ |
H A D | constexpr-builtin-bit-cast-fp80.cpp | 53 typedef short v12i16 __attribute((vector_size(24))); typedef 54 typedef long double v2f80 __attribute((vector_size(24))); typedef
|
/llvm-project/clang/test/CodeGenObjC/ |
H A D | arc-weak.m | 3 __attribute((objc_root_class)) @interface A @end function
|
H A D | debug-info-ivars.m | 3 __attribute((objc_root_class)) @interface NSObject { function
|
H A D | debug-info-id-with-protocol.m | 2 __attribute((objc_root_class)) @interface NSObject { function
|
/llvm-project/clang/test/CodeGenObjCXX/ |
H A D | arc-weak.mm | 3 __attribute((objc_root_class)) @interface A @end function
|
/llvm-project/clang/test/SemaObjCXX/ |
H A D | warn-missing-super.mm | 4 __attribute((objc_root_class)) @interface NSObject function
|
/llvm-project/compiler-rt/test/dfsan/ |
H A D | libatomic.c | 10 typedef struct __attribute((packed)) { struct 11 uint8_t val[DATA_BYTES];
|