/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 | 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 …rc -fobjc-runtime-has-weak -fobjc-default-synthesize-properties -Wdirect-ivar-access -verify -Wno… 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/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
|
D | objc-properties.m | 20 … (assign, nonatomic) MyClass* A; // explicitely synthesized, not implemented, non-default ivar name 26 @property (assign, nonatomic) MyClass* Z; // non synthesized ivar, implemented setter 27 …@property (readonly) id nonSynth; // non synthesized, explicitly implemented to return ivar with …
|
D | objc_invalidation.m | 70 SomeInvalidationImplementingObject *Ivar1; // regular ivar 71 SomeInvalidationImplementingObject *Ivar2; // regular ivar, sending invalidate message 77 …SomeInvalidationImplementingObject *_propIvar; // property with custom named ivar, set to 0 via se… 78 Invalidation1Class *MultipleProtocols; // regular ivar belonging to a different class 79 Invalidation2Class *MultInheritance; // regular ivar belonging to a different class 198 // the parent and directly through a protocol. If a property backing ivar is 334 …/ TODO: It would be nice to check that the full invalidation method actually invalidates the ivar.
|
/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;
|
D | rewrite-cast-ivar-modern-access.mm | 11 int ivar; field 18 int v = ((G *)arg)->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{{expected a class or namespace}}
|
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/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/test/Index/ |
D | index-decls.m | 45 // CHECK: [indexDeclaration]: kind: objc-ivar | name: _prop | {{.*}} | loc: 11:20 49 // CHECK: [indexDeclaration]: kind: objc-ivar | name: _auto_prop | {{.*}} | loc: 20:33 50 // CHECK: [indexEntityReference]: kind: objc-ivar | name: _auto_prop | {{.*}} | loc: 25:3
|
/external/clang/test/PCH/ |
D | objcxx-ivar-class.mm | 2 // RUN: %clang_cc1 -include %S/objcxx-ivar-class.h -verify %s -emit-llvm -o - | FileCheck %s 5 // RUN: %clang_cc1 -x objective-c++-header -emit-pch -o %t %S/objcxx-ivar-class.h
|
/external/clang/test/CodeGenObjC/ |
D | autorelease.m | 8 id ivar; field 19 return ivar;
|
D | debug-info-blocks.m | 27 int ivar; field 43 ivar = 42 + (int)[d count];
|
/external/clang/lib/CodeGen/ |
D | CGObjC.cpp | 486 static void emitStructGetterCall(CodeGenFunction &CGF, ObjCIvarDecl *ivar, in emitStructGetterCall() argument 492 ivar, 0).getAddress(); in emitStructGetterCall() 504 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType()); in emitStructGetterCall() 594 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in PropertyImplStrategy() local 595 QualType ivarType = ivar->getType(); in PropertyImplStrategy() 650 if (ivar->isBitField()) { in PropertyImplStrategy() 755 ObjCIvarDecl *ivar, in emitCPPObjectAtomicGetterCall() argument 767 CGF.LoadObjCSelf(), ivar, 0).getAddress(); in emitCPPObjectAtomicGetterCall() 796 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody() local 798 ivar, AtomicHelperFn); in generateObjCGetterBody() [all …]
|
/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 …]
|