HomeSort by relevance Sort by last modified time
    Searched refs:Ivar (Results 1 - 25 of 30) sorted by null

1 2

  /external/clang/lib/StaticAnalyzer/Checkers/
ObjCUnusedIVarsChecker.cpp 85 // to an ivar.
115 for (const auto *Ivar : ID->ivars()) {
121 if (Ivar->getAccessControl() != ObjCIvarDecl::Private ||
122 Ivar->hasAttr<UnusedAttr>() || Ivar->hasAttr<IBOutletAttr>() ||
123 Ivar->hasAttr<IBOutletCollectionAttr>() ||
124 Ivar->isUnnamedBitfield())
127 M[Ivar] = Unused;
CheckObjCDealloc.cpp 95 for (const auto *Ivar : ID->ivars()) {
96 QualType T = Ivar->getType();
99 Ivar->hasAttr<IBOutletAttr>() || // Skip IBOutlets.
100 Ivar->hasAttr<IBOutletCollectionAttr>()) // Skip IBOutletCollections.
193 // ivar must be released if and only if the kind of setter was not 'assign'
203 ? "missing ivar release (leak)"
204 : "missing ivar release (Hybrid MM, non-GC)";
211 ? "extra ivar release (use-after-release)"
212 : "extra ivar release (Hybrid MM, non-GC)";
  /external/clang/include/clang/Index/
USRGeneration.h 40 void generateUSRForObjCIvar(StringRef Ivar, raw_ostream &OS);
  /external/clang/lib/CodeGen/
CGObjCRuntime.cpp 32 const ObjCIvarDecl *Ivar) {
33 const ObjCInterfaceDecl *Container = Ivar->getContainingInterface();
37 // decl context for the ivar.
39 // If we know have an implementation (and the ivar is in it) then
56 if (Ivar == IVD)
60 assert(Index < RL->getFieldCount() && "Ivar is not inside record layout!");
67 const ObjCIvarDecl *Ivar) {
68 return LookupFieldBitOffset(CGM, OID, nullptr, Ivar) /
74 const ObjCIvarDecl *Ivar) {
75 return LookupFieldBitOffset(CGM, OID->getClassInterface(), OID, Ivar) /
    [all...]
CGObjCRuntime.h 68 // Utility functions for unified ivar access. These need to
72 /// Compute an offset to the given ivar, suitable for passing to
77 /// sythesized ivar.
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);
CGValue.h 183 // objective-c's ivar
184 bool Ivar:1;
186 // objective-c's ivar is an array
233 this->Ivar = this->ObjIsArray = this->NonGC = this->GlobalObjCRef = false;
264 bool isObjCIvar() const { return Ivar; }
265 void setObjCIvar(bool Value) { Ivar = Value; }
CGObjCMac.cpp     [all...]
CGObjCGNU.cpp 450 const ObjCIvarDecl *Ivar);
553 llvm::Value *BaseValue, const ObjCIvarDecl *Ivar,
557 const ObjCIvarDecl *Ivar) override;
    [all...]
CGExpr.cpp     [all...]
CGObjC.cpp 569 static void emitStructGetterCall(CodeGenFunction &CGF, ObjCIvarDecl *ivar,
574 CGF.EmitLValueForIvar(CGF.TypeOfSelfObject(), CGF.LoadObjCSelf(), ivar, 0)
578 // sizeof (Type of Ivar), isAtomic, false);
587 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType());
676 // Evaluate the ivar's size and alignment.
677 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); local
678 QualType ivarType = ivar->getType();
700 // acceptable if the ivar is __strong, which won't be true if
733 if (ivar->isBitField()) {
748 // Compute whether the ivar has strong members
879 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); local
890 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); local
1151 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); local
1345 const ObjCIvarDecl *ivar; member in struct:__anon6401::final
    [all...]
  /external/clang/lib/Sema/
SemaObjCProperty.cpp 699 ObjCIvarDecl *ivar) {
700 if (property->isInvalidDecl() || ivar->isInvalidDecl()) return;
702 QualType ivarType = ivar->getType();
713 // None isn't a valid lifetime for an object ivar in ARC, and
720 // If the ivar is private, and it's implicitly __unsafe_unretained
726 ivar->getAccessControl() == ObjCIvarDecl::Private) {
732 ivar->setType(ivarType);
739 S.Diag(ivar->getLocation(), diag::err_arc_strong_property_ownership)
741 << ivar->getDeclName()
746 S.Diag(ivar->getLocation(), diag::error_weak_property
    [all...]
SemaAccess.cpp     [all...]
SemaCodeComplete.cpp     [all...]
SemaDeclObjC.cpp     [all...]
SemaLookup.cpp     [all...]
AnalysisBasedWarnings.cpp     [all...]
SemaExprObjC.cpp     [all...]
  /external/clang/lib/ARCMigrate/
TransProperties.cpp 16 // - If a property is synthesized, adds the ownership specifier in the ivar
287 ObjCIvarDecl *Ivar;
289 PlusOneAssign(ObjCIvarDecl *D) : Ivar(D) {}
294 if (RE->getDecl() != Ivar)
  /external/clang/lib/AST/
DeclObjC.cpp 53 /// getIvarDecl - This method looks up an ivar in this ContextDecl.
58 for (lookup_iterator Ivar = R.begin(), IvarEnd = R.end();
59 Ivar != IvarEnd; ++Ivar) {
60 if (ObjCIvarDecl *ivar = dyn_cast<ObjCIvarDecl>(*Ivar))
61 return ivar;
    [all...]
ASTImporter.cpp     [all...]
Expr.cpp     [all...]
  /external/clang/include/clang/AST/
DeclObjC.h     [all...]
  /external/clang/lib/Index/
USRGeneration.cpp 180 // The USR for an ivar declared in a class extension is based on the
828 void clang::index::generateUSRForObjCIvar(StringRef Ivar, raw_ostream &OS) {
829 OS << '@' << Ivar;
  /external/clang/lib/Frontend/Rewrite/
RewriteModernObjC.cpp 152 // ivar bitfield grouping containers
155 // This container maps an <class, group number for ivar> tuple to the type
372 // Computes ivar bitfield group no.
374 // Names field decl. for ivar bitfield group.
376 // Names struct type for ivar bitfield group.
378 // Names symbol for ivar bitfield group field offset.
380 // Given an ivar bitfield, it builds (or finds) its group record type.
464 // Rewriting ivar
465 void RewriteIvarOffsetComputation(ObjCIvarDecl *ivar,
    [all...]
  /external/clang/tools/libclang/
CIndex.cpp 631 // and '_prop' is not declared, we will encounter a '_prop' ivar before
    [all...]

Completed in 2268 milliseconds

1 2