Home
last modified time | relevance | path

Searched refs:oldObject (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dobjc-container-subscripting.m29 id oldObject = array[10];
31 array[10] = oldObject;
34 oldObject = unknown_array[1];
36 unknown_array[1] = oldObject;
41 oldObject = dictionary[key];
42 dictionary[key] = newObject; // replace oldObject with newObject
H A Dobjc-container-subscripting-1.m20 id oldObject = array[10];
27 val = (array[10] = oldObject);
28 // CHECK: [[FOUR:%.*]] = load i8*, i8** [[oldObject:%.*]], align 8
38 oldObject = dictionary[key];
44 // CHECK-NEXT: store i8* [[CALL1]], i8** [[oldObject:%.*]], align 8
/llvm-project-15.0.7/clang/test/Rewriter/
H A Dobjc-modern-container-subscript.mm34 id oldObject = array[10];
36 array[10] = oldObject;
39 oldObject = unknown_array[1];
41 unknown_array[1] = oldObject;
46 oldObject = dictionary[key];
47 dictionary[key] = newObject; // replace oldObject with newObject
/llvm-project-15.0.7/clang/test/Index/
H A Dannotate-subscripting.m32 id newObject, oldObject;
33 oldObject = dictionary[key];
35 NSDictionary *dict = @{ key: newObject, key: oldObject };
64 // CHECK: Identifier: "oldObject" [33:3 - 33:12] DeclRefExpr=oldObject:32:17
90 // CHECK: Identifier: "oldObject" [35:48 - 35:57] DeclRefExpr=oldObject:32:17
H A Dindex-subscripting-literals.m33 id newObject, oldObject;
37 oldObject = dictionary[key];
39 NSDictionary *dict = @{ key: newObject, key: oldObject };
55 // CHECK: [indexEntityReference]: kind: variable | name: oldObject
66 …EntityReference]: kind: variable | name: oldObject | USR: c:@oldObject | lang: C | cursor: DeclRef…
H A Dfile-refs-subscripting.m32 id newObject, oldObject;
33 oldObject = dictionary[key];
35 NSDictionary *dict = @{ key: newObject, key: oldObject };
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dobjc-container-subscripting.m15 …id oldObject = array[10]; // expected-error {{method index parameter type 'double' is not integra…
23oldObject = array[10]++; // expected-error {{illegal operation on Objective-C container subscripti…
24oldObject = array[10]--; // expected-error {{illegal operation on Objective-C container subscripti…
25oldObject = --array[10]; // expected-error {{illegal operation on Objective-C container subscripti…
38 id newObject, oldObject;
39oldObject = dictionary[key]; // expected-error {{method key parameter type 'id *' is not object t…
H A Dobjc-container-subscripting-1.m14 id oldObject = array[10]; // expected-warning {{instance method '-objectAtIndexedSubscript:' not fo…
19 oldObject = p_array[10]; // expected-error {{expected method to read array element not found on obj…
/llvm-project-15.0.7/clang/test/PCH/
H A Dobjc_container.h15 id oldObject = array[10]; in all() local
17 array[10] = oldObject; in all()
22 oldObject = dictionary[key]; in all()
H A Dobjc_container.m13 // CHECK-PRINT: id oldObject = array[10];
14 // CHECK-PRINT: array[10] = oldObject;
15 // CHECK-PRINT: oldObject = dictionary[key];
H A Dsubscripting-literals.m49 void testDict(NSString *key, id newObject, id oldObject) {
51 oldObject = dictionary[key];
53 NSDictionary *dict = @{ key: newObject, key: oldObject };
/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Dobjc-container-subscripting-1.mm25 id oldObject = array[(int)s];
28 dict[(id)s] = oldObject;
29 oldObject = dict[(id)s];
H A Dobjc-container-subscripting.mm24 id oldObject = array[(int)s];
27 dict[(id)s] = oldObject;
28 oldObject = dict[(id)s];
/llvm-project-15.0.7/clang/docs/
H A DObjectiveCLiterals.rst334 id oldObject = array[idx];
335 array[idx] = newObject; // replace oldObject with newObject
339 oldObject = dictionary[key];
340 dictionary[key] = newObject; // replace oldObject with newObject