/external/clang/test/SemaObjC/ |
D | duplicate-ivar-in-class-extension.m | 12 int ivar; // expected-error {{duplicate member 'ivar'}} field 19 int ivar; // expected-note {{previous declaration is here}} 30 return self->ivar; // would be ambiguous if the duplicate ivar were allowed
|
D | unused-backing-ivar-warning.m | 1 // RUN: %clang_cc1 -fsyntax-only -Wunused-property-ivar -verify -Wno-objc-root-class %s 18 - (void) setX:(id)newX { // expected-warning {{ivar '_x' which backs the property is not reference… 21 - (id) y { // expected-warning {{ivar '_y' which backs the property is not referenced in this prope… 25 - (void) setV:(id)newV { // expected-warning {{ivar '_v' which backs the property is not referenced… 29 // No warning here because there is no backing ivar. 38 - (id) u { // expected-warning {{ivar '_u' which backs the property is not referenced in this prope… 48 - (void) setT:(id)newT { // expected-warning {{ivar 'tIvar' which backs the property is not referen… 122 - (long) q { return 0; } // expected-warning {{ivar 'q' which backs the property is not referenced … 123 - (void) setQ : (long) val { } // expected-warning {{ivar 'q' which backs the property is not refer… 124 - (long) r { [self Meth]; return p; } // expected-warning {{ivar 'r' which backs the property is no… [all …]
|
D | interface-layout-2.m | 5 int ivar; field 10 - (int)ivar; method 14 - (int)ivar { method 15 return ivar;
|
D | no-ivar-access-control.m | 9 int ivar; field 15 return self->ivar; 18 return p->ivar; 23 return p->ivar; 31 return arg->ivar;
|
D | static-ivar-ref-1.m | 7 int ivar; field 17 return pc->ivar2 + (*pc).ivar + pc->ivar1; 21 // CHECK: int ivar; 28 // CHECK: return pc->ivar2 + (*pc).ivar + pc->ivar1;
|
D | property-ivar-mismatch.m | 2 // Test that arithmatic types on property and its ivar have exact match. 6 char ivar; // expected-note{{instance variable is declared here}} field 12 @synthesize prop = ivar; // expected-error {{type of property 'prop' ('int') does not match type o…
|
D | property-13.m | 26 int ivar; field 37 @synthesize required = ivar; 40 - (int) optional_preexisting_setter_getter { return ivar; } 43 ivar = value; 45 - (void) setOptional_getter_attr:(int)value { ivar = value; }
|
D | warn-direct-ivar-access.m | 1 // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -Wdirect-ivar-access -verify … 46 id ivar; field 52 x->ivar = 0; // expected-error {{dereferencing a __weak pointer is not allowed}} 53 return y ? y->ivar // expected-error {{dereferencing a __weak pointer is not allowed}} 54 : (*x).ivar; // expected-error {{dereferencing a __weak pointer is not allowed}}
|
D | objc-buffered-methods.m | 22 - (int) func { return prop; } // compiles - synthesized ivar will be accessible here. 23 - (int)get_g { return global; } // No warning here - synthesized ivar will be accessible here.
|
/external/llvm/test/CodeGen/AArch64/ |
D | arm64-fold-address.ll | 17 %ivar = load i64, i64* @"OBJC_IVAR_$_UIScreen._bounds", align 8, !invariant.load !4 19 %add.ptr = getelementptr inbounds i8, i8* %0, i64 %ivar 22 %add.ptr.sum = add i64 %ivar, 8 26 %add.ptr.sum17 = add i64 %ivar, 16 30 %add.ptr4.1.sum = add i64 %ivar, 24 49 %ivar = load i64, i64* @"OBJC_IVAR_$_UIScreen._bounds", align 8, !invariant.load !4 51 %add.ptr = getelementptr inbounds i8, i8* %0, i64 %ivar 54 %add.ptr10.1 = getelementptr inbounds i8, i8* %0, i64 %ivar 57 %add.ptr4.1 = getelementptr inbounds i8, i8* %0, i64 %ivar 60 %add.ptr4.1.1 = getelementptr inbounds i8, i8* %0, i64 %ivar
|
D | arm64-2012-05-22-LdStOptBug.ll | 18 %ivar = load i64, i64* @"OBJC_IVAR_$_UIScreen._bounds", align 8, !invariant.load !4 20 %add.ptr = getelementptr inbounds i8, i8* %0, i64 %ivar 23 %add.ptr.sum = add i64 %ivar, 8 27 %add.ptr.sum17 = add i64 %ivar, 16 31 %add.ptr4.1.sum = add i64 %ivar, 24
|
/external/clang/test/Analysis/ |
D | unused-ivars.m | 16 // This test case tests the basic functionality of the unused ivar test. 24 // This test case tests whether the unused ivar check handles blocks that 30 @property (readwrite,retain) id ivar; property 34 - (id)ivar { method 48 // <rdar://problem/6260004> Detect that ivar is in use, if used in category
|
/external/clang/test/Rewriter/ |
D | rewrite-cast-ivar-access.mm | 12 int ivar; field 19 int v = ((G *)arg)->ivar; 49 // CHECK-LP: ((struct G_IMPL *)arg)->ivar
|
D | rewrite-modern-atautoreleasepool.mm | 12 id ivar; 23 return ivar;
|
/external/clang/test/SemaObjCXX/ |
D | message.mm | 14 typedef struct { int x; } ivar; typedef 17 id ivar; field 33 [ivar method]; 41 [ivar method]; // expected-error{{receiver type 'ivar' is not an Objective-C class}}
|
D | propert-dot-error.mm | 58 int ivar; field 66 …d->Forward::ivar = 12; // expected-error{{instance variable access cannot be qualified with 'Forwa… 68 d->D::ivar = 12; // expected-error{{'D' is not a class, namespace, or enumeration}}
|
D | instantiate-expr.mm | 5 int ivar; field 21 get_an_A(N)->ivar = value; // expected-error{{assigning to 'int' from incompatible type 'int *'}} 33 // ivar reference. 36 ptr->ivar = value; // expected-error{{assigning to 'int' from incompatible type 'int *'}}
|
/external/lldb/test/lang/objc/objc-ivar-stripped/ |
D | TestObjCIvarStripped.py | 53 ivar = frame.EvaluateExpression ("(mc->_foo)") 54 self.assertTrue(ivar, "Got result for mc->_foo") 55 ivar_value = ivar.GetValueAsSigned (error)
|
/external/clang/test/Analysis/objc/ |
D | direct-ivar-assignment-in-annotated-functions.m | 29 … (assign, nonatomic) MyClass* A; // explicitely synthesized, not implemented, non-default ivar name 35 @property (assign, nonatomic) MyClass* Z; // non-synthesized ivar, implemented setter 36 …@property (readonly) id nonSynth; // non-synthesized, explicitly implemented to return ivar with … 38 @property (assign) MyClass* NotA; // warnings should be suppressed, backing ivar is annotated
|
/external/clang/test/FixIt/ |
D | typo-crash.m | 5 - (int)method { return ivar; } // expected-error{{use of undeclared identifier 'ivar'}}
|
/external/clang/lib/CodeGen/ |
D | CGObjC.cpp | 508 static void emitStructGetterCall(CodeGenFunction &CGF, ObjCIvarDecl *ivar, in emitStructGetterCall() argument 514 ivar, 0).getAddress(); in emitStructGetterCall() 526 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType()); in emitStructGetterCall() 616 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in PropertyImplStrategy() local 617 QualType ivarType = ivar->getType(); in PropertyImplStrategy() 672 if (ivar->isBitField()) { in PropertyImplStrategy() 777 ObjCIvarDecl *ivar, in emitCPPObjectAtomicGetterCall() argument 789 CGF.LoadObjCSelf(), ivar, 0).getAddress(); in emitCPPObjectAtomicGetterCall() 818 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody() local 820 ivar, AtomicHelperFn); in generateObjCGetterBody() [all …]
|
/external/clang/test/PCH/ |
D | objcxx-ivar-class.mm | 2 // RUN: %clang_cc1 -include %S/objcxx-ivar-class.h -triple %itanium_abi_triple %s -emit-llvm -o - |… 5 …lang_cc1 -x objective-c++-header -triple %itanium_abi_triple -emit-pch -o %t %S/objcxx-ivar-class.h
|
/external/svox/pico/lib/ |
D | picocep.c | 967 picoos_int32 mean, ivar; in makeWUWandWUm() local 1015 ivar = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTIVAR, in makeWUWandWUm() 1017 … prev_diag0 = cep->diag0[i] = ivar << 2; /* multiply ivar by 4 (4 used to be first entry of xsq) */ in makeWUWandWUm() 1026 ivar = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTIVAR, in makeWUWandWUm() 1028 cep->diag0[i] += xsq[j] * ivar; in makeWUWandWUm() 1040 ivar = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTIVAR, in makeWUWandWUm() 1042 cep->diag0[i] += xsq[numd + j] * ivar; in makeWUWandWUm() 1110 ivar = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTIVAR, in makeWUWandWUm() 1112 cep->diag2[i] -= (ivar + 2) / 4; in makeWUWandWUm() 1139 picoos_int32 mean = 0, ivar = 0; in getFromPdf() local [all …]
|
/external/clang/test/Index/ |
D | index-decls.m | 60 // CHECK: [indexDeclaration]: kind: objc-ivar | name: _prop | {{.*}} | loc: 11:20 64 // CHECK: [indexDeclaration]: kind: objc-ivar | name: _auto_prop | {{.*}} | loc: 20:33 65 // CHECK: [indexEntityReference]: kind: objc-ivar | name: _auto_prop | {{.*}} | loc: 25:3
|
/external/lldb/test/lang/objc/hidden-ivars/ |
D | main.m | 51 printf("ivar value = %u\n", (unsigned)j->_definer->foo); // Set breakpoint 0 here. 52 printf("ivar value = %u\n", (unsigned)k->foo); // Set breakpoint 1 here.
|