/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransProperties.cpp | 60 ObjCIvarDecl *IvarD; member 64 : PropD(propD), IvarD(nullptr), ImplD(nullptr) {} in PropData() 123 I->IvarD = ivarD; in doTransform() 209 I->IvarD->getLocation()); in removeAssignForDefaultStrong() 225 if (isUserDeclared(I->IvarD)) { in rewriteAssign() 226 if (I->IvarD && in rewriteAssign() 227 I->IvarD->getType().getObjCLifetime() != Qualifiers::OCL_Weak) { in rewriteAssign() 231 Pass.TA.insert(I->IvarD->getLocation(), toWhich); in rewriteAssign() 238 I->IvarD->getLocation()); in rewriteAssign() 253 if (isUserDeclared(I->IvarD)) { in maybeAddWeakOrUnsafeUnretainedAttr() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | TransProperties.cpp | 61 ObjCIvarDecl *IvarD; member 65 : PropD(propD), IvarD(nullptr), ImplD(nullptr) {} in PropData() 125 I->IvarD = ivarD; in doTransform() 211 I->IvarD->getLocation()); in removeAssignForDefaultStrong() 227 if (isUserDeclared(I->IvarD)) { in rewriteAssign() 228 if (I->IvarD && in rewriteAssign() 229 I->IvarD->getType().getObjCLifetime() != Qualifiers::OCL_Weak) { in rewriteAssign() 233 Pass.TA.insert(I->IvarD->getLocation(), toWhich); in rewriteAssign() 240 I->IvarD->getLocation()); in rewriteAssign() 255 if (isUserDeclared(I->IvarD)) { in maybeAddWeakOrUnsafeUnretainedAttr() [all …]
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | IvarInvalidationChecker.cpp | 208 void reportIvarNeedsInvalidation(const ObjCIvarDecl *IvarD, 304 const ObjCIvarDecl *IvarD = nullptr; in findPropertyBackingIvar() local 307 IvarD = Prop->getPropertyIvarDecl(); in findPropertyBackingIvar() 310 if (IvarD && IvarD->getContainingInterface() == InterfaceD) { in findPropertyBackingIvar() 311 if (TrackedIvars.count(IvarD)) { in findPropertyBackingIvar() 312 return IvarD; in findPropertyBackingIvar() 315 if (trackIvar(IvarD, TrackedIvars, FirstIvarDecl)) in findPropertyBackingIvar() 316 return IvarD; in findPropertyBackingIvar() 552 reportIvarNeedsInvalidation(const ObjCIvarDecl *IvarD, in reportIvarNeedsInvalidation() argument 557 printIvar(os, IvarD, IvarToPopertyMap); in reportIvarNeedsInvalidation() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IvarInvalidationChecker.cpp | 209 void reportIvarNeedsInvalidation(const ObjCIvarDecl *IvarD, 305 const ObjCIvarDecl *IvarD = nullptr; in findPropertyBackingIvar() local 308 IvarD = Prop->getPropertyIvarDecl(); in findPropertyBackingIvar() 311 if (IvarD && IvarD->getContainingInterface() == InterfaceD) { in findPropertyBackingIvar() 312 if (TrackedIvars.count(IvarD)) { in findPropertyBackingIvar() 313 return IvarD; in findPropertyBackingIvar() 316 if (trackIvar(IvarD, TrackedIvars, FirstIvarDecl)) in findPropertyBackingIvar() 317 return IvarD; in findPropertyBackingIvar() 553 reportIvarNeedsInvalidation(const ObjCIvarDecl *IvarD, in reportIvarNeedsInvalidation() argument 558 printIvar(os, IvarD, IvarToPopertyMap); in reportIvarNeedsInvalidation() [all …]
|
/external/clang/lib/Index/ |
D | IndexDecl.cpp | 324 if (ObjCIvarDecl *IvarD = D->getPropertyIvarDecl()) { in VisitObjCPropertyImplDecl() local 325 if (!IvarD->getSynthesize()) in VisitObjCPropertyImplDecl() 326 IndexCtx.handleReference(IvarD, D->getPropertyIvarDeclLoc(), nullptr, in VisitObjCPropertyImplDecl()
|
/external/llvm-project/clang/lib/Index/ |
D | IndexDecl.cpp | 552 if (ObjCIvarDecl *IvarD = D->getPropertyIvarDecl()) { in VisitObjCPropertyImplDecl() local 553 if (IvarD->getSynthesize()) { in VisitObjCPropertyImplDecl() 568 TRY_DECL(IvarD, IndexCtx.handleDecl(IvarD, IvarLoc, IvarRoles)); in VisitObjCPropertyImplDecl() 570 IndexCtx.handleReference(IvarD, D->getPropertyIvarDeclLoc(), nullptr, in VisitObjCPropertyImplDecl()
|
/external/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 4727 const ObjCIvarDecl *IvarD; member in __anon34bbd8ed0811::UnusedBackingIvarChecker 4732 const ObjCIvarDecl *IvarD) in UnusedBackingIvarChecker() argument 4733 : S(S), Method(Method), IvarD(IvarD), in UnusedBackingIvarChecker() 4735 assert(IvarD); in UnusedBackingIvarChecker() 4739 if (E->getDecl() == IvarD) { in VisitObjCIvarRefExpr()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 5285 const ObjCIvarDecl *IvarD; member in __anon9721507b0a11::UnusedBackingIvarChecker 5290 const ObjCIvarDecl *IvarD) in UnusedBackingIvarChecker() argument 5291 : S(S), Method(Method), IvarD(IvarD), in UnusedBackingIvarChecker() 5293 assert(IvarD); in UnusedBackingIvarChecker() 5297 if (E->getDecl() == IvarD) { in VisitObjCIvarRefExpr()
|