HomeSort by relevance Sort by last modified time
    Searched full:__attribute (Results 26 - 50 of 169) sorted by null

12 3 4 5 6 7

  /external/clang/test/SemaOpenCL/
init.cl 4 typedef float float8 __attribute((ext_vector_type(8)));
  /external/clang/test/CodeGen/
annotations-global.c 8 static __attribute((annotate("sfoo_0"))) __attribute((annotate("sfoo_1"))) char sfoo;
9 __attribute((annotate("foo_0"))) __attribute((annotate("foo_1"))) char foo;
11 void __attribute((annotate("ann_a_0"))) __attribute((annotate("ann_a_1"))) __attribute((annotate("ann_a_2"))) __attribute((annotate("ann_a_3"))) a(char *a);
12 void __attribute((annotate("ann_a_0"))) __attribute((annotate("ann_a_1"))) a(char *a)
    [all...]
pragma-weak.c 87 void __declfirstattr(void) __attribute((noinline));
94 //// ensure that pragma weak/__attribute((weak)) play nice
98 __attribute((weak)) void mix(void) { }
104 void __mix2(void) __attribute((noinline));
105 void __mix2(void) __attribute((noinline));
109 ////////////// test #pragma weak/__attribute combinations
113 void both(void) __attribute((alias("__both")));
123 void both2(void) __attribute((alias("__both2"))); // first, wins
130 void both3(void) __attribute((alias("__both3")));
136 void __a1(void) __attribute((noinline))
    [all...]
annotations-loc.c 7 int __attribute((annotate("foo"))) foo(void) { return 0; }
align-param.c 14 int test2(struct X x __attribute((aligned(16)))) {
attr-naked.c 15 __attribute((naked, always_inline)) void t2() {
regparm-flag.c 6 void f2(int a, int b) __attribute((regparm(0)));
regparm.c 11 typedef void (*FType)(int, int) __attribute ((regparm (3), stdcall)); typedef
  /external/clang/test/SemaObjC/
arc-decls.m 74 - (void)bar1:(id) __attribute((ns_consumed)) b;
75 - (void)ok:(id) __attribute((ns_consumed)) b;
77 - (id)not_ret:(id) b __attribute((ns_returns_not_retained)); // expected-note {{method declared here}}
78 - (id)both__returns_not_retained:(id) b __attribute((ns_returns_not_retained));
82 - (void)bar:(id) __attribute((ns_consumed)) b; // expected-error {{overriding method has mismatched ns_consumed attribute on its parameter}}
84 - (void)ok:(id) __attribute((ns_consumed)) b;
85 - (id)ns_non __attribute((ns_returns_not_retained)); // expected-error {{overriding method has mismatched ns_returns_not_retained attributes}}
86 - (id)not_ret:(id) b __attribute((ns_returns_retained)); // expected-error {{overriding method has mismatched ns_returns_retained attributes}}
87 - (id)both__returns_not_retained:(id) b __attribute((ns_returns_not_retained));
super-dealloc-attribute.m 8 #define NS_REQUIRES_SUPER __attribute((objc_requires_super))
16 - MyDealloc __attribute((objc_requires_super));
17 - (void)XXX __attribute((objc_requires_super));
18 - (void) dealloc __attribute((objc_requires_super)); // expected-warning {{'objc_requires_super' attribute cannot be applied to dealloc}}
20 - (void) AnnotMyDeallocMeth __attribute((objc_requires_super));
23 + (void)registerClass:(id)name __attribute((objc_requires_super));
28 - (void) MyDeallocMeth __attribute((objc_requires_super)); // 'Baz' author has annotated method
30 - (void) AnnotMeth __attribute((objc_requires_super)); // 'Baz' author has annotated method
61 - (void) AnnotMethCAT __attribute((objc_requires_super));
nsobject-attribute.m 9 typedef struct S1 __attribute__ ((NSObject)) CGColorRef1; // expected-error {{__attribute ((NSObject)) is for pointer types only}}
51 __attribute__((NSObject)) void * color; // expected-warning {{__attribute ((NSObject)) may be put on a typedef only, attribute is ignored}}
57 char* __attribute__((NSObject)) string2 = 0; // expected-warning {{__attribute ((NSObject)) may be put on a typedef only, attribute is ignored}}
62 @property(retain) __attribute__((NSObject)) int i; // expected-error {{__attribute ((NSObject)) is for pointer types only}} \
  /external/clang/test/Sema/
mips16_attr_allowed.c 23 __attribute((nomips16)) int a; // expected-error {{attribute only applies to functions}}
25 __attribute((mips16)) int b; // expected-error {{attribute only applies to functions}}
altivec-init.c 3 typedef int v4 __attribute((vector_size(16)));
4 typedef short v8 __attribute((vector_size(16)));
attr-deprecated.c 118 foo_dep a __attribute((deprecated));
120 foo_dep c, d __attribute((deprecated)); // expected-warning {{'foo_dep' is deprecated}}
121 __attribute((deprecated)) foo_dep e, f;
124 typedef int test23_ty __attribute((deprecated)); // expected-note {{previous definition is here}}
  /external/clang/test/CodeGenOpenCL/
vectorLoadStore.cl 3 typedef char char3 __attribute((ext_vector_type(3)));;
vector_logops.cl 3 typedef int int2 __attribute((ext_vector_type(2)));
logical-ops.cl 5 typedef int int4 __attribute((ext_vector_type(4)));
6 typedef long long4 __attribute((ext_vector_type(4)));
7 typedef float float4 __attribute((ext_vector_type(4)));
8 typedef double double4 __attribute((ext_vector_type(4)));
  /external/clang/test/SemaCXX/
attr-visibility.cpp 20 } __attribute((visibility("default"))); // expected-warning {{attribute 'visibility' after definition is ignored}}
  /external/clang/test/CodeGenCXX/
pragma-visibility.cpp 12 struct __attribute((visibility("default"))) x2 {
43 namespace n __attribute((visibility("default"))) {
49 namespace n __attribute((visibility("default"))) {
regparm.cpp 34 __attribute((regparm(2))) void foo4(S3 a, int b);
  /external/clang/test/Preprocessor/
extension-warning.c 13 // __attribute; the standard allows implementation-defined extensions
  /bootable/recovery/minzip/
inline_magic.h 21 #define INLINE extern inline __attribute((__gnu_inline__))
  /external/clang/test/CodeGenObjC/
debug-info-ivars-private.m 5 __attribute((objc_root_class)) @interface NSObject {
debug-info-ivars.m 3 __attribute((objc_root_class)) @interface NSObject {
  /external/clang/test/Index/
complete-with-annotations.cpp 4 int field __attribute((annotate("one"), annotate("two"), annotate("three")));

Completed in 212 milliseconds

12 3 4 5 6 7