/llvm-project/clang/test/SemaObjC/ |
H A D | warning-missing-selector-name.m | 6 -(void) Name1:(id)Arg1 Name2:(id)Arg2; // Name1:Name2: argument 7 -(void) Name1:(id) Name2:(id)Arg2; // expected-warning {{'Name2' used as the name of the previous p… argument 10 -(void) Name1:(id)Arg1 Name2:(id)Arg2 Name3:(id)Arg3; // Name1:Name2:Name3: argument 11 -(void) Name1:(id)Arg1 Name2:(id) Name3:(id)Arg3; // expected-warning {{'Name3' used as the name of… argument 14 - method:(id) second:(id)second; // expected-warning {{'second' used as the name of the previous pa… argument 22 -(void) Name1:(id)Arg1 Name2:(id)Arg2{} argument 23 -(void) Name1:(id) Name2:(id)Arg2 {} // expected-warning {{'Name2' used as the name of the previous… argument 26 -(void) Name1:(id)Arg1 Name2:(id)Arg2 Name3:(id)Arg3 {} argument 27 -(void) Name1:(id)Arg1 Name2:(id) Name3:(id)Arg3 {} // expected-warning {{'Name3' used as the name … argument 30 - method:(id)first second:(id)second {return 0; } argument
|
H A D | cocoa-api-usage.m | 26 + (id)arrayWithObject:(id)anObject; argument 27 + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; 28 + (id)arrayWithObjects:(id)firstObj, ...; argument 31 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt; 32 - (id)initWithObjects:(id)firstObj, ...; argument 39 - (void)replaceObjectAtIndex:(unsigned long)index withObject:(id)anObject; argument 40 - (void)setObject:(id)object atIndexedSubscript:(int)index; argument 44 - (id)objectForKeyedSubscript:(id)key; argument 49 + (id)dictionaryWithObject:(id)object forKey:(id)key; argument 50 + (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; [all …]
|
H A D | blocks.m | 6 void bar(id(^)(void)); category 7 void foo(id <NSObject>(^objectCreationBlock)(void)) { category 11 void bar2(id(*)(void)); category 12 void foo2(id <NSObject>(*objectCreationBlock)(void)) { category 16 void bar3(id(*)()); category 17 void foo3(id (*objectCreationBlock)(int)) { category 21 void bar4(id(^)()); category 22 void foo4(id (^objectCreationBlock)(int)) { category 26 void bar5(id(^)(void)); // expected-note 3{{passing argument to parameter here}} category 27 void foo5(id (^objectCreationBlock)(bool)) { category [all …]
|
H A D | dist-object-modifiers.m | 5 - (void)doStuff:(bycopy id)clientId; // expected-note {{previous declaration is here}} 7 + (oneway id) stillMore : (byref id)Arg : (bycopy oneway id)Arg1; // expected-note 3 {{previous de… 16 - (void)doStuff:(id)clientId { } // expected-warning {{conflicting distributed object modifiers on … argument 18 + (id) stillMore : (id)Arg : (bycopy id)Arg1 { return Arg; } // expected-warning {{conflicting dis… argument
|
H A D | circular-container.m | 9 - (void)addObject:(id)object; argument 10 - (void)insertObject:(id)object atIndex:(NSUInteger)index; argument 11 - (void)replaceObjectAtIndex:(NSUInteger)index withObject:(id)object; argument 12 - (void)setObject:(id)object atIndexedSubscript:(NSUInteger)index; argument 18 - (void)setObject:(id)object forKey:(id)key; argument 19 - (void)setObject:(id)object forKeyedSubscript:(id)key; argument 20 - (void)setValue:(id)value forKey:(NSString *)key; argument 26 - (void)addObject:(id)object; argument 36 - (void)addObject:(id)object; argument 37 - (void)insertObject:(id)object atIndex:(NSUInteger)index; argument [all …]
|
H A D | attr-ns_returns_retained.m | 5 __attribute__((ns_returns_retained)) id (^invalidBlockRedecl)(void); // expected-note {{previous de… function 6 id (^invalidBlockRedecl)(void); //expected-error {{redefinition of 'invalidBlockRedecl' with a diff… function 8 __attribute__((ns_returns_retained)) id (^invalidBlockRedecl)(void); function 9 id (^invalidBlockRedecl)(void); function
|
H A D | arc-peformselector.m | 18 - (id)performSelector:(SEL)aSelector withObject:(id)object; argument 19 - (id)performSelector:(SEL)aSelector withObject:(id)object1 withObject:(id)object2; argument 21 - (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(double)delay inModes:(… argument 46 - (id)performSelector:(SEL)aSelector withObject:(id)object { return 0; } argument 47 - (id)performSelector:(SEL)aSelector withObject:(id)object1 withObject:(id)object2 { return 0; } argument 48 - (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(double)delay inModes:(… argument
|
H A D | override-nullability.m | 6 - (nonnull id)bad:(nullable id)obj; // expected-note 2 {{previous declaration is here}} 7 - (nullable id)notAsBad:(nonnull id)obj; 11 - (nullable id)bad:(nonnull id)obj; // expected-warning {{conflicting nullability specifier on retu… 13 - (nonnull id)notAsBad:(nullable id)obj;
|
H A D | objc-cstyle-args-in-methods.m | 4 - (id)test:(id)one, id two; argument 5 - (id)bad:(id)one, id two, double three; argument 9 - (id)test:(id )one, id two {return two; } argument 10 - (id)bad:(id)one, id two, double three { return two; } argument
|
H A D | typo-correction-arc.m | 8 - (instancetype)initWithObjects:(const id[])objects count:(NSUInteger)count; 13 - (id)getArrayById:(id)name; argument 14 - (void)setArrayValue:(id)array; argument 18 - (void)setArray:(id)array; argument 25 - (void)setArray:(id)array { // expected-note{{'array' declared here}} argument
|
H A D | undef-arg-super-method-call.m | 6 + (void)addViewLayerInfo:(id)view; argument 7 - (void)addInstViewLayerInfo:(id)view; argument 14 + (void)addViewLayerInfo:(id)aView; // expected-note {{'aView' declared here}} argument 18 - (void)addInstViewLayerInfo:(id)aView; // expected-note {{'aView' declared here}} argument
|
/llvm-project/clang/test/ARCMT/ |
H A D | objcmt-subscripting-unavailable.m | 19 + (id)arrayWithObject:(id)anObject; argument 20 + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; 21 + (id)arrayWithObjects:(id)firstObj, ...; argument 24 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt; 25 - (id)initWithObjects:(id)firstObj, ...; argument 30 - (void)replaceObjectAtIndex:(unsigned long)index withObject:(id)anObject; argument 38 + (id)dictionaryWithObject:(id)object forKey:(id)key; argument 39 + (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 40 + (id)dictionaryWithObjectsAndKeys:(id)firstObject, ...; argument 44 - (id)initWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; [all …]
|
H A D | objcmt-instancetype.m | 30 + (id)arrayWithObject:(id)anObject; argument 31 + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; 32 + (id)arrayWithObjects:(id)firstObj, ...; argument 35 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt; 36 - (id)initWithObjects:(id)firstObj, ...; argument 44 + (id)arrayWithObject:(id)anObject { argument 47 + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt { return 0; } 48 + (id)arrayWithObjects:(id)firstObj, ... { argument 54 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt { return 0; } 55 - (id)initWithObjects:(id)firstObj, ... { return 0; } argument [all …]
|
H A D | objcmt-subscripting-literals-in-arc.m | 33 + (id)arrayWithObject:(id)anObject; argument 34 + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; 35 + (id)arrayWithObjects:(id)firstObj, ...; argument 38 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt; 39 - (id)initWithObjects:(id)firstObj, ...; argument 44 - (void)replaceObjectAtIndex:(unsigned long)index withObject:(id)anObject; argument 48 - (void)setObject:(id)obj atIndexedSubscript:(unsigned)idx; argument 52 - (id)objectForKey:(id)aKey; argument 56 - (id)objectForKeyedSubscript:(id)key; argument 61 + (id)dictionaryWithObject:(id)object forKey:(id)key; argument [all …]
|
H A D | objcmt-subscripting-literals.m | 33 + (id)arrayWithObject:(id)anObject; argument 34 + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; 35 + (id)arrayWithObjects:(id)firstObj, ...; argument 38 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt; 39 - (id)initWithObjects:(id)firstObj, ...; argument 44 - (void)replaceObjectAtIndex:(unsigned long)index withObject:(id)anObject; argument 48 - (void)setObject:(id)obj atIndexedSubscript:(unsigned)idx; argument 52 - (id)objectForKey:(id)aKey; argument 56 - (id)objectForKeyedSubscript:(id)key; argument 61 + (id)dictionaryWithObject:(id)object forKey:(id)key; argument [all …]
|
/llvm-project/llvm/test/tools/llvm-xray/X86/Inputs/ |
H A D | simple-instrmap.yaml | 5 - { id: 1, address: 0x2, function: 0x1, kind: function-exit, always-instrument: true} key 6 - { id: 2, address: 0x2, function: 0x2, kind: function-enter, always-instrument: true} key 7 - { id: 2, address: 0x3, function: 0x2, kind: function-exit, always-instrument: true} key 8 - { id: 3, address: 0x3, function: 0x3, kind: function-enter, always-instrument: true} key 9 - { id: 3, address: 0x4, function: 0x3, kind: function-exit, always-instrument: true} key 10 - { id: 4, address: 0x4, function: 0x4, kind: function-enter, always-instrument: true} key 11 - { id: 4, address: 0x5, function: 0x4, kind: function-exit, always-instrument: true} key 12 - { id: 5, address: 0x5, function: 0x5, kind: function-enter, always-instrument: true} key 13 - { id: 5, address: 0x6, function: 0x5, kind: function-exit, always-instrument: true} key 14 - { id: 6, address: 0x6, function: 0x6, kind: function-enter, always-instrument: true} key [all …]
|
H A D | simple-xray-instrmap.yaml | 3 - { id: 1, address: 0x000000000041CA50, function: 0x000000000041CA40, kind: tail-exit, always-instr… key 4 - { id: 2, address: 0x000000000041CA70, function: 0x000000000041CA70, kind: function-enter, always-… key 5 - { id: 2, address: 0x000000000041CA7C, function: 0x000000000041CA70, kind: tail-exit, always-instr… key 6 - { id: 3, address: 0x000000000041CAA0, function: 0x000000000041CAA0, kind: function-enter, always-… key 7 - { id: 3, address: 0x000000000041CAB4, function: 0x000000000041CAA0, kind: function-exit, always-i… key
|
/llvm-project/clang/test/SemaObjCXX/ |
H A D | blocks.mm | 4 void bar(id(^)(void)); category 5 void foo(id <NSObject>(^objectCreationBlock)(void)) { category 9 void bar2(id(*)(void)); category 10 void foo2(id <NSObject>(*objectCreationBlock)(void)) { category 14 void bar3(id(*)()); // expected-note{{candidate function}} category 15 void foo3(id (*objectCreationBlock)(int)) { category 19 void bar4(id(^)()); // expected-note{{candidate function}} category 20 void foo4(id (^objectCreationBlock)(int)) { category 24 void foo5(id (^x)(int)) { category
|
/llvm-project/clang/test/Index/ |
H A D | index-subscripting-literals.m | 3 + (id)arrayWithObjects:(id *)objects count:(unsigned)count; 8 - (void)setObject:(id)object atIndexedSubscript:(int)index; argument 12 - (id)objectForKeyedSubscript:(id)key; argument 13 + (id)dictionaryWithObjects:(id *)objects forKeys:(id *)keys count:(unsigned)count; 17 - (void)setObject:(id)object forKeyedSubscript:(id)key; argument
|
H A D | annotate-subscripting.m | 3 + (id)arrayWithObjects:(id *)objects count:(unsigned)count; 8 - (void)setObject:(id)object atIndexedSubscript:(int)index; argument 12 - (id)objectForKeyedSubscript:(id)key; argument 13 + (id)dictionaryWithObjects:(id *)objects forKeys:(id *)keys count:(unsigned)count; 17 - (void)setObject:(id)object forKeyedSubscript:(id)key; argument
|
H A D | file-refs-subscripting.m | 3 + (id)arrayWithObjects:(id *)objects count:(unsigned)count; 8 - (void)setObject:(id)object atIndexedSubscript:(int)index; argument 12 - (id)objectForKeyedSubscript:(id)key; argument 13 + (id)dictionaryWithObjects:(id *)objects forKeys:(id *)keys count:(unsigned)count; 17 - (void)setObject:(id)object forKeyedSubscript:(id)key; argument
|
/llvm-project/polly/lib/External/isl/ |
H A D | isl_id.c | 31 isl_ctx *isl_id_get_ctx(__isl_keep isl_id *id) in isl_id_get_ctx() 36 void *isl_id_get_user(__isl_keep isl_id *id) in isl_id_get_user() 41 const char *isl_id_get_name(__isl_keep isl_id *id) in isl_id_get_name() 49 isl_id *id; in id_alloc() local 75 uint32_t isl_id_get_hash(__isl_keep isl_id *id) in isl_id_get_hash() 87 isl_id *id = (isl_id *)entry; in isl_id_has_name_and_user() local 129 __isl_give isl_id *isl_id_copy(isl_id *id) in isl_id_copy() 173 uint32_t isl_hash_id(uint32_t hash, __isl_keep isl_id *id) in isl_hash_id() 183 __isl_give isl_id *isl_id_set_free_user(__isl_take isl_id *id, in isl_id_set_free_user() 197 void (*isl_id_get_free_user(__isl_keep isl_id *id))(void *user) in isl_id_get_free_user() [all …]
|
/llvm-project/clang/test/PCH/ |
H A D | subscripting-literals.m | 12 + (id)arrayWithObjects:(id *)objects count:(unsigned)count; 16 - (void)setObject:(id)object atIndexedSubscript:(int)index; argument 20 - (id)objectForKeyedSubscript:(id)key; argument 21 + (id)dictionaryWithObjects:(id *)objects forKeys:(id *)keys count:(unsigned)count; 25 - (void)setObject:(id)object forKeyedSubscript:(id)key; argument
|
/llvm-project/clang/test/AST/ |
H A D | ast-dump-attr.m | 55 -(void)Test9 [[clang::ns_consumes_self]]; argument 58 -(void) [[clang::ns_consumes_self]] Test10: (int)Test11; argument 62 -(void)Test12: (int *) [[clang::noescape]] Test13 to:(int)Test14 [[clang::ns_consumes_self]]; argument
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/objc/ |
H A D | missing-hash.m | 7 typedef void *id; typedef 11 - (BOOL)isEqual:(id)object; argument 20 - (BOOL)isEqual:(id)object { argument 35 - (BOOL)isEqual:(id)object { argument 49 - (BOOL)isEqual:(id)object { argument 63 - (BOOL)isEqual:(id)object { argument
|