/external/clang/test/Parser/ |
D | objcbridge-related-attribute.m | 4 typedef struct __attribute__((objc_bridge_related(NSColor,colorWithCGColor:,CGColor))) CGColor *CGC… struct 5 typedef struct __attribute__((objc_bridge_related(NSColor,,CGColor))) CGColor *CGColorRef1Ok; struct 6 typedef struct __attribute__((objc_bridge_related(NSColor,,))) CGColor *CGColorRef2Ok; struct 7 typedef struct __attribute__((objc_bridge_related(NSColor,colorWithCGColor:,))) CGColor *CGColorRef… struct 9 typedef struct __attribute__((objc_bridge_related(,colorWithCGColor:,CGColor))) CGColor *CGColorRef… struct 10 typedef struct __attribute__((objc_bridge_related(NSColor,colorWithCGColor,CGColor))) CGColor *CGCo… struct 11 typedef struct __attribute__((objc_bridge_related(NSColor,colorWithCGColor::,CGColor))) CGColor *CG… struct 12 typedef struct __attribute__((objc_bridge_related(12,colorWithCGColor:,CGColor))) CGColor *CGColorR… struct 13 typedef struct __attribute__((objc_bridge_related(NSColor,+:,CGColor))) CGColor *CGColorRef5NotOk; … struct 14 typedef struct __attribute__((objc_bridge_related(NSColor,colorWithCGColor:,+))) CGColor *CGColorRe… struct
|
/external/clang/test/SemaObjC/ |
D | attr-availability-1.m | 11 - (void)proto_method __attribute__((availability(macosx,introduced=10_1,deprecated=10_2))); // expe… method 15 - (void)method __attribute__((availability(macosx,introduced=10_1,deprecated=10_2))); // expected-n… method 17 - (void)overridden __attribute__((availability(macosx,introduced=10_3))); // expected-note{{overrid… method 18 - (void)overridden2 __attribute__((availability(macosx,introduced=10_3))); method 19 - (void)overridden3 __attribute__((availability(macosx,deprecated=10_3))); method 20 - (void)overridden4 __attribute__((availability(macosx,deprecated=10_3))); // expected-note{{overri… method 21 - (void)overridden5 __attribute__((availability(macosx,unavailable))); method 22 - (void)overridden6 __attribute__((availability(macosx,introduced=10_3))); // expected-note{{overri… method 28 - (void)overridden __attribute__((availability(macosx,introduced=10_4))); // expected-warning{{over… method 29 - (void)overridden2 __attribute__((availability(macosx,introduced=10_2))); method [all …]
|
D | attr-availability.m | 5 - (void)proto_method __attribute__((availability(macosx,introduced=10.1,deprecated=10.2))); // expe… method 10 - (void)partial_proto_method __attribute__((availability(macosx,introduced=10.8))); method in WARN_PARTIAL 14 - (void)method __attribute__((availability(macosx,introduced=10.1,deprecated=10.2))); // expected-n… method 18 - (void)partialMethod __attribute__((availability(macosx,introduced=10.8))); method in WARN_PARTIAL 20 - (void)overridden __attribute__((availability(macosx,introduced=10.3))); // expected-note{{overrid… method in WARN_PARTIAL 21 - (void)overridden2 __attribute__((availability(macosx,introduced=10.3))); method in WARN_PARTIAL 22 - (void)overridden3 __attribute__((availability(macosx,deprecated=10.3))); method in WARN_PARTIAL 23 - (void)overridden4 __attribute__((availability(macosx,deprecated=10.3))); // expected-note{{overri… method in WARN_PARTIAL 24 - (void)overridden5 __attribute__((availability(macosx,unavailable))); method in WARN_PARTIAL 25 - (void)overridden6 __attribute__((availability(macosx,introduced=10.3))); // expected-note{{overri… method in WARN_PARTIAL [all …]
|
D | special-dep-unavail-warning.m | 6 - (void) unavailMeth __attribute__((unavailable)); // expected-note {{has been explicitly marked un… method 7 - (void) depInA1 __attribute__((deprecated)); // expected-note {{'depInA1' has been explicitly mark… method 9 - (void) depInA2 __attribute__((deprecated)); // expected-note {{'depInA2' has been explicitly mark… 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)); // expected-note {{'FuzzyMeth' has been explicitly m… 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)); // expected-note {{'depInA' has been explicitly marked… 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 {{'format_arg' a… function 9 extern void fc2 (const NSString *) __attribute__((format_arg())); // expected-error {{'format_arg' … function 10 extern void fc3 (const NSString *) __attribute__((format_arg(1, 2))); // expected-error {{'format_a… 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 {{use o… function [all …]
|
D | nonnull.m | 10 int f2(int *x) __attribute__ ((nonnull (1))); function 11 int f3(int *x) __attribute__ ((nonnull (0))); // expected-error {{'nonnull' attribute parameter 1 i… function 12 int f4(int *x, int *y) __attribute__ ((nonnull (1,2))); function 13 int f5(int *x, int *y) __attribute__ ((nonnull (2,1))); function 14 int f6(NSObject *x) __attribute__ ((nonnull (1))); // no-warning function 15 int f7(NSObject *x) __attribute__ ((nonnull)); // no-warning function 18 extern void func1 (void (^block1)(), void (^block2)(), int) __attribute__((nonnull)); function 21 __attribute__((nonnull(1,3))); function 23 extern void func4 (void (^block1)(), void (^block2)()) __attribute__((nonnull(1))) function 24 __attribute__((nonnull(2))); function [all …]
|
D | objc-asm-attribute-neg-test.m | 4 __attribute__((objc_runtime_name)) // expected-error {{'objc_runtime_name' attribute takes one argu… function 8 __attribute__((objc_runtime_name(123))) // expected-error {{'objc_runtime_name' attribute requires … function 12 __attribute__((objc_runtime_name("MySecretNamespace.Protocol"))) function 16 __attribute__((objc_runtime_name("MySecretNamespace.Message"))) function 24 - (int) getMyProperty __attribute__((objc_runtime_name("MySecretNamespace.Message"))); // expected-… method in int 30 __attribute__((objc_runtime_name("MySecretNamespace.ForwardClass"))) function 33 __attribute__((objc_runtime_name("MySecretNamespace.ForwardProtocol"))) function
|
D | format-ostrace-warning.m | 20 …torRef alloc, CFDictionaryRef formatOptions, const char* format, ...) __attribute__((format(os_tra… function 23 …CFDictionaryRef formatOptions, const char* format, va_list arguments) __attribute__((format(os_tra… function 26 …ef theString, CFDictionaryRef formatOptions, const char* format, ...) __attribute__((format(os_tra… function 29 …CFDictionaryRef formatOptions, const char* format, va_list arguments) __attribute__((format(os_tra… function 39 extern void MyOSLog(const char* format, ...) __attribute__((format(os_trace, 1, 2))); function 40 extern void MyFStringCreateWithFormat(const char *format, ...) __attribute__((format(os_trace, 1, 2… function 41 extern void XMyOSLog(int, const char* format, ...) __attribute__((format(os_trace, 2, 3))); function 42 extern void os_trace(const char *format, ...) __attribute__((format(os_trace, 1, 2))); function
|
D | objcbridgemutable-attribute.m | 4 typedef struct __attribute__((objc_bridge_mutable(NSMutableDictionary))) __CFDictionary * CFMutable… struct 6 typedef struct __attribute__((objc_bridge_mutable(12))) __CFDictionaryB1 * CFMutableDictionaryB1Ref… struct 8 typedef struct __attribute__((objc_bridge_mutable(P))) __CFDictionaryB2 * CFMutableDictionaryB2Ref;… struct 10 typedef struct __attribute__((objc_bridge_mutable(NSMutableDictionary, Unknown))) __CFDictionaryB3 … struct 12 typedef struct __attribute__((objc_bridge_mutable)) __CFDictionaryB4 * CFMutableDictionaryB4Ref; /… struct
|
D | ns_returns_retained_block_return.m | 10 BT foo() __attribute__((ns_returns_retained)); function 13 BT foo() __attribute__((ns_returns_retained)); category 14 - (BT) Meth __attribute__((ns_returns_retained)); method in ns_returns_retained 15 + (BT) ClsMeth __attribute__((ns_returns_retained)); class in ns_returns_retained 19 BT foo() __attribute__((ns_returns_retained)) {return ^{}; } category
|
D | no-warning-unavail-unimp.m | 7 @property (getter=getVal) int val __attribute__((unavailable)); property 8 @property (getter=getVal) int val2 __attribute__((availability(macosx,unavailable))); property 9 - Method __attribute__((unavailable)); method 10 + CMethod __attribute__((unavailable)); class
|
D | builtin_objc_msgSend.m | 12 extern __attribute__((visibility("default"))) id objc_msgSendSuper(struct objc_super *super, SEL op… function 13 __attribute__((availability(macosx,introduced=10.0))); function 15 extern __attribute__((visibility("default"))) void objc_msgSendSuper_stret(struct objc_super *super… function 16 __attribute__((availability(macosx,introduced=10.0))); function 18 extern __attribute__((visibility("default"))) void objc_msgSend_stret(id self, SEL op, ...) function 19 __attribute__((availability(macosx,introduced=10.0))); function
|
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 | objcbridge-attribute.m | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 3… struct 6 typedef struct __attribute__ ((objc_bridge(MyError))) __CFMyErrorRef * CFMyErrorRef; // expected-no… struct 8 typedef struct __attribute__((objc_bridge(12))) __CFMyColor *CFMyColorRef; // expected-error {{par… struct 10 typedef struct __attribute__ ((objc_bridge)) __CFArray *CFArrayRef; // expected-error {{'objc_bridg… struct 16 typedef struct __attribute__((objc_bridge(NSLocale, NSError))) __CFLocale *CFLocaleRef;// expected-… struct 20 typedef struct __attribute__((objc_bridge(NSDictionary))) __CFDictionary * CFDictionaryRef; // expe… struct 48 typedef struct __attribute__((objc_bridge(NSTesting))) __CFError *CFTestingRef; // expected-note {{… struct 116 typedef struct __attribute__ ((objc_bridge(MyPersonalError))) __CFMyPersonalErrorRef * CFMyPersonal… struct 138 CFDictionaryRef bar() __attribute__((cf_returns_not_retained)); function 150 typedef struct __attribute__ ((objc_bridge(NSFont))) __CFFontRef * CFFontRef; struct
|
D | objcbridge-attribute-arc.m | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… struct 6 typedef struct __attribute__ ((objc_bridge(MyError))) __CFMyErrorRef * CFMyErrorRef; // expected-no… struct 8 typedef struct __attribute__((objc_bridge(12))) __CFMyColor *CFMyColorRef; // expected-error {{par… struct 10 typedef struct __attribute__ ((objc_bridge)) __CFArray *CFArrayRef; // expected-error {{'objc_bridg… struct 16 typedef struct __attribute__((objc_bridge(NSLocale, NSError))) __CFLocale *CFLocaleRef;// expected-… struct 20 typedef struct __attribute__((objc_bridge(NSDictionary))) __CFDictionary * CFDictionaryRef; struct 45 typedef struct __attribute__((objc_bridge(NSTesting))) __CFError *CFTestingRef; // expected-note {{… struct 175 typedef struct __attribute__ ((objc_bridge(MyPersonalError))) __CFMyPersonalErrorRef * CFMyPersonal… struct 233 typedef struct __attribute__((objc_bridge(id))) __CFFoo *CFFooRef; struct
|
/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 | exceptions-asm-attribute.m | 46 __attribute__((objc_runtime_name("MySecretNamespace.A"))) function 60 __attribute__((objc_runtime_name("MySecretNamespace.EH1"))) function 64 __attribute__((objc_runtime_name("MySecretNamespace.EH2"))) function 65 __attribute__((__objc_exception__)) function 69 __attribute__((objc_runtime_name("MySecretNamespace.EH3"))) function 70 __attribute__((__objc_exception__)) function
|
D | objc-asm-attribute-neg-test.m | 4 __attribute__((objc_runtime_name("MySecretNamespace.Protocol"))) function 8 __attribute__((objc_runtime_name("MySecretNamespace.Message"))) function 16 - (int) getMyProperty __attribute__((objc_runtime_name("MySecretNamespace.Message"))); // expected-… method in int 22 __attribute__((objc_runtime_name("MySecretNamespace.ForwardClass"))) function 25 __attribute__((objc_runtime_name("MySecretNamespace.ForwardProtocol"))) function
|
D | attr-exception.m | 4 __attribute__((objc_root_class)) function 10 __attribute__((objc_exception)) function 19 __attribute__((objc_exception)) function 20 __attribute__((visibility("default"))) function
|
/external/clang/test/Misc/ |
D | ast-print-objectivec.m | 6 - (void)MethP __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))); method 10 - (void)MethI __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))); method 14 - (void)MethCAT __attribute__((availability(macosx,introduced=10_1_0,deprecated=10_2))); method in CAT 18 - (void)MethP __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))) {} method 19 - (void)MethI __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))) {} method
|
/external/clang/test/SemaObjCXX/ |
D | objcbridge-attribute.mm | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… struct 6 typedef struct __attribute__ ((objc_bridge(MyError))) __CFMyErrorRef * CFMyErrorRef; // expected-no… struct 8 typedef struct __attribute__((objc_bridge(12))) __CFMyColor *CFMyColorRef; // expected-error {{par… struct 10 typedef struct __attribute__ ((objc_bridge)) __CFArray *CFArrayRef; // expected-error {{'objc_bridg… struct 12 typedef struct __attribute__((objc_bridge(NSLocale, NSError))) __CFLocale *CFLocaleRef;// expected-… struct 14 typedef struct __attribute__((objc_bridge(NSDictionary))) __CFDictionary * CFDictionaryRef; struct 27 typedef struct __attribute__((objc_bridge(NSTesting))) __CFError *CFTestingRef; // expected-note {{… struct 157 typedef struct __attribute__ ((objc_bridge(MyPersonalError))) __CFMyPersonalErrorRef * CFMyPersonal… struct
|
D | objcbridge-attribute-arc.mm | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… struct 6 typedef struct __attribute__ ((objc_bridge(MyError))) __CFMyErrorRef * CFMyErrorRef; // expected-no… struct 8 typedef struct __attribute__((objc_bridge(12))) __CFMyColor *CFMyColorRef; // expected-error {{par… struct 10 typedef struct __attribute__ ((objc_bridge)) __CFArray *CFArrayRef; // expected-error {{'objc_bridg… struct 12 typedef struct __attribute__((objc_bridge(NSLocale, NSError))) __CFLocale *CFLocaleRef;// expected-… struct 14 typedef struct __attribute__((objc_bridge(NSDictionary))) __CFDictionary * CFDictionaryRef; struct 27 typedef struct __attribute__((objc_bridge(NSTesting))) __CFError *CFTestingRef; // expected-note {{… struct 157 typedef struct __attribute__ ((objc_bridge(MyPersonalError))) __CFMyPersonalErrorRef * CFMyPersonal… struct
|
D | objcbridge-static-cast.mm | 4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 3… struct 6 typedef struct __attribute__ ((objc_bridge(MyError))) __CFMyErrorRef * CFMyErrorRef; // expected-no… struct 8 typedef struct __attribute__((objc_bridge(12))) __CFMyColor *CFMyColorRef; // expected-error {{par… struct 10 typedef struct __attribute__ ((objc_bridge)) __CFArray *CFArrayRef; // expected-error {{'objc_bridg… struct 12 typedef struct __attribute__((objc_bridge(NSLocale, NSError))) __CFLocale *CFLocaleRef;// expected-… struct 14 typedef struct __attribute__((objc_bridge(NSDictionary))) __CFDictionary * CFDictionaryRef; struct 27 typedef struct __attribute__((objc_bridge(NSTesting))) __CFError *CFTestingRef; // expected-note {{… struct
|
/external/clang/test/CodeGenObjCXX/ |
D | arc-attrs.mm | 3 id makeObject1() __attribute__((ns_returns_retained)); function 4 id makeObject2() __attribute__((ns_returns_retained)); function 24 T makeObjectT1() __attribute__((ns_returns_retained)); function 26 T makeObjectT2() __attribute__((ns_returns_retained)); function
|