/external/clang/test/SemaObjCXX/ |
D | ivar-lookup.mm | 3 @interface Ivar interface 8 A *Ivar; field 15 int *ip = [Ivar method]; // Okay; calls A's method on the instance variable Ivar. 16 // Note that Objective-C calls Ivar's method.
|
/external/clang/lib/CodeGen/ |
D | CGObjCRuntime.cpp | 32 const ObjCIvarDecl *Ivar) { in LookupFieldBitOffset() argument 33 const ObjCInterfaceDecl *Container = Ivar->getContainingInterface(); in LookupFieldBitOffset() 56 if (Ivar == IVD) in LookupFieldBitOffset() 67 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset() argument 68 return LookupFieldBitOffset(CGM, OID, nullptr, Ivar) / in ComputeIvarBaseOffset() 74 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset() argument 75 return LookupFieldBitOffset(CGM, OID->getClassInterface(), OID, Ivar) / in ComputeIvarBaseOffset() 82 const ObjCIvarDecl *Ivar) { in ComputeBitfieldBitOffset() argument 83 return LookupFieldBitOffset(CGM, ID, ID->getImplementation(), Ivar); in ComputeBitfieldBitOffset() 89 const ObjCIvarDecl *Ivar, in EmitValueForIvarAtOffset() argument [all …]
|
D | CGObjCRuntime.h | 80 const ObjCIvarDecl *Ivar); 83 const ObjCIvarDecl *Ivar); 88 const ObjCIvarDecl *Ivar, 265 const ObjCIvarDecl *Ivar, 269 const ObjCIvarDecl *Ivar) = 0; 303 const ObjCIvarDecl *Ivar);
|
D | CGValue.h | 184 bool Ivar:1; variable 233 this->Ivar = this->ObjIsArray = this->NonGC = this->GlobalObjCRef = false; 264 bool isObjCIvar() const { return Ivar; } in isObjCIvar() 265 void setObjCIvar(bool Value) { Ivar = Value; } in setObjCIvar()
|
D | CGObjCMac.cpp | 1250 llvm::Value *BaseValue, const ObjCIvarDecl *Ivar, 1254 const ObjCIvarDecl *Ivar) override; 1328 const ObjCIvarDecl *Ivar, 1389 const ObjCIvarDecl *Ivar); 1545 llvm::Value *BaseValue, const ObjCIvarDecl *Ivar, 1549 const ObjCIvarDecl *Ivar) override; 3469 llvm::Constant *Ivar[] = { in EmitIvarList() local 3475 Ivars.push_back(llvm::ConstantStruct::get(ObjCTypes.IvarTy, Ivar)); in EmitIvarList() 4422 const ObjCIvarDecl *Ivar, in EmitObjCValueForIvar() argument 4426 return EmitValueForIvarAtOffset(CGF, ID, BaseValue, Ivar, CVRQualifiers, in EmitObjCValueForIvar() [all …]
|
D | CGObjCGNU.cpp | 450 const ObjCIvarDecl *Ivar); 553 llvm::Value *BaseValue, const ObjCIvarDecl *Ivar, 557 const ObjCIvarDecl *Ivar) override; 2775 const ObjCIvarDecl *Ivar) { in ObjCIvarOffsetVariable() argument 2777 + '.' + Ivar->getNameAsString(); in ObjCIvarOffsetVariable() 2795 Offset = ComputeIvarBaseOffset(CGM, ID, Ivar); in ObjCIvarOffsetVariable() 2822 const ObjCIvarDecl *Ivar, in EmitObjCValueForIvar() argument 2826 return EmitValueForIvarAtOffset(CGF, ID, BaseValue, Ivar, CVRQualifiers, in EmitObjCValueForIvar() 2827 EmitIvarOffset(CGF, ID, Ivar)); in EmitObjCValueForIvar() 2848 const ObjCIvarDecl *Ivar) { in EmitIvarOffset() argument [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCUnusedIVarsChecker.cpp | 115 for (const auto *Ivar : ID->ivars()) { in checkObjCUnusedIvar() local 121 if (Ivar->getAccessControl() != ObjCIvarDecl::Private || in checkObjCUnusedIvar() 122 Ivar->hasAttr<UnusedAttr>() || Ivar->hasAttr<IBOutletAttr>() || in checkObjCUnusedIvar() 123 Ivar->hasAttr<IBOutletCollectionAttr>() || in checkObjCUnusedIvar() 124 Ivar->isUnnamedBitfield()) in checkObjCUnusedIvar() 127 M[Ivar] = Unused; in checkObjCUnusedIvar()
|
D | CheckObjCDealloc.cpp | 95 for (const auto *Ivar : ID->ivars()) { in checkObjCDealloc() local 96 QualType T = Ivar->getType(); in checkObjCDealloc() 99 Ivar->hasAttr<IBOutletAttr>() || // Skip IBOutlets. in checkObjCDealloc() 100 Ivar->hasAttr<IBOutletCollectionAttr>()) // Skip IBOutletCollections. in checkObjCDealloc()
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 1006 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl() local 1016 Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared); in ActOnPropertyImplDecl() 1031 setImpliedPropertyAttributeForReadOnlyProperty(property, Ivar); in ActOnPropertyImplDecl() 1055 if (!Ivar) { in ActOnPropertyImplDecl() 1092 << PropertyId << (Ivar == nullptr) << PropertyIvar in ActOnPropertyImplDecl() 1099 if (!Ivar) { in ActOnPropertyImplDecl() 1124 Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl, in ActOnPropertyImplDecl() 1134 Ivar->setInvalidDecl(); in ActOnPropertyImplDecl() 1136 Ivar->setInvalidDecl(); in ActOnPropertyImplDecl() 1137 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl() [all …]
|
D | SemaAccess.cpp | 1874 if (ObjCIvarDecl *Ivar = dyn_cast<ObjCIvarDecl>(Decl)) { in IsSimplyAccessible() local 1876 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Public || in IsSimplyAccessible() 1877 Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Package) in IsSimplyAccessible() 1902 if (declaresSameEntity(ClassOfMethodDecl, Ivar->getContainingInterface())) in IsSimplyAccessible() 1906 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Private) in IsSimplyAccessible() 1909 return Ivar->getContainingInterface()->isSuperClassOf(ClassOfMethodDecl); in IsSimplyAccessible()
|
D | SemaCodeComplete.cpp | 2083 } else if (const ObjCIvarDecl *Ivar = dyn_cast<ObjCIvarDecl>(ND)) { in AddResultTypeChunk() local 2085 T = Ivar->getUsageType(BaseType); in AddResultTypeChunk() 2087 T = Ivar->getType(); in AddResultTypeChunk() 6223 for (ObjCIvarDecl *Ivar = Class->all_declared_ivar_begin(); Ivar; in CodeCompleteObjCPropertySynthesizeIvar() local 6224 Ivar = Ivar->getNextIvar()) { in CodeCompleteObjCPropertySynthesizeIvar() 6225 Results.AddResult(Result(Ivar, Results.getBasePriority(Ivar), nullptr), in CodeCompleteObjCPropertySynthesizeIvar() 6230 if ((PropertyName == Ivar->getIdentifier() || in CodeCompleteObjCPropertySynthesizeIvar() 6231 NameWithPrefix == Ivar->getName() || in CodeCompleteObjCPropertySynthesizeIvar() 6232 NameWithSuffix == Ivar->getName())) { in CodeCompleteObjCPropertySynthesizeIvar() 6240 Results.data()[Results.size() - 1].Declaration == Ivar) in CodeCompleteObjCPropertySynthesizeIvar()
|
D | SemaDeclObjC.cpp | 3498 for (auto *Ivar : ID->ivars()) { in DiagnoseDuplicateIvars() local 3499 if (Ivar->isInvalidDecl()) in DiagnoseDuplicateIvars() 3501 if (IdentifierInfo *II = Ivar->getIdentifier()) { in DiagnoseDuplicateIvars() 3504 Diag(Ivar->getLocation(), diag::err_duplicate_member) << II; in DiagnoseDuplicateIvars() 3506 Ivar->setInvalidDecl(); in DiagnoseDuplicateIvars()
|
D | SemaLookup.cpp | 1147 if (ObjCIvarDecl *Ivar = Class->lookupInstanceVariable( in CppLookupName() local 1150 if (NamedDecl *ND = R.getAcceptableDecl(Ivar)) { in CppLookupName() 4196 if (ObjCIvarDecl *Ivar = Class->lookupInstanceVariable(Name)) { in LookupPotentialTypoResult() local 4197 Res.addDecl(Ivar); in LookupPotentialTypoResult()
|
D | AnalysisBasedWarnings.cpp | 1302 Ivar in diagnoseRepeatedUseOfWeak() enumerator 1313 ObjectKind = Ivar; in diagnoseRepeatedUseOfWeak()
|
/external/clang/test/SemaObjC/ |
D | ivar-lookup.m | 20 @interface Ivar interface 25 A *Ivar; field 32 …int *ip = [Ivar method]; // expected-warning{{incompatible pointer types initializing 'int *' with…
|
D | objc-independent-class-attribute.m | 17 …NSObject *__attribute__((objc_independent_class)) Ivar; // expected-warning {{'objc_independent_cl… field
|
/external/clang/include/clang/Index/ |
D | USRGeneration.h | 40 void generateUSRForObjCIvar(StringRef Ivar, raw_ostream &OS);
|
/external/clang/lib/ARCMigrate/ |
D | TransProperties.cpp | 287 ObjCIvarDecl *Ivar; member in __anonf4468bc00111::PropertiesRewriter::PlusOneAssign 289 PlusOneAssign(ObjCIvarDecl *D) : Ivar(D) {} in PlusOneAssign() 294 if (RE->getDecl() != Ivar) in VisitBinAssign()
|
/external/clang/test/ASTMerge/Inputs/ |
D | interface2.m | 13 // Ivar mismatch
|
D | interface1.m | 13 // Ivar mismatch
|
/external/clang/test/FixIt/ |
D | typo.m | 128 @interface Ivar interface 144 // Test that we don't correct 'ivar' to 'Ivar' e
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 58 for (lookup_iterator Ivar = R.begin(), IvarEnd = R.end(); in getIvarDecl() local 59 Ivar != IvarEnd; ++Ivar) { in getIvarDecl() 60 if (ObjCIvarDecl *ivar = dyn_cast<ObjCIvarDecl>(*Ivar)) in getIvarDecl() 1467 ObjCIvarDecl *Ivar; member 1469 : Size(size), Ivar(ivar) {} in SynthesizeIvarChunk() 1543 data().IvarList = layout[0].Ivar; Ix++; in all_declared_ivar_begin() 1546 for ( ; Ix != EIx; curIvar = layout[Ix].Ivar, Ix++) in all_declared_ivar_begin() 1547 curIvar->setNextIvar(layout[Ix].Ivar); in all_declared_ivar_begin()
|
D | ASTImporter.cpp | 4047 ObjCIvarDecl *Ivar = nullptr; in VisitObjCPropertyImplDecl() local 4049 Ivar = cast_or_null<ObjCIvarDecl>( in VisitObjCPropertyImplDecl() 4051 if (!Ivar) in VisitObjCPropertyImplDecl() 4063 Ivar, in VisitObjCPropertyImplDecl() 4086 Ivar != ToImpl->getPropertyIvarDecl()) { in VisitObjCPropertyImplDecl() 4091 << Ivar->getDeclName(); in VisitObjCPropertyImplDecl()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 828 void clang::index::generateUSRForObjCIvar(StringRef Ivar, raw_ostream &OS) { in generateUSRForObjCIvar() argument 829 OS << '@' << Ivar; in generateUSRForObjCIvar()
|
/external/clang/include/clang/AST/ |
D | DeclObjC.h | 2577 void setPropertyIvarDecl(ObjCIvarDecl *Ivar) { in setPropertyIvarDecl() argument 2578 PropertyIvarDecl = Ivar; in setPropertyIvarDecl() 2674 void setPropertyIvarDecl(ObjCIvarDecl *Ivar, in setPropertyIvarDecl() argument 2676 PropertyIvarDecl = Ivar; in setPropertyIvarDecl()
|