Searched refs:SelfDecl (Results 1 – 8 of 8) sorted by relevance
/external/clang/lib/Analysis/ |
D | ThreadSafetyCommon.cpp | 97 VarDecl *SelfDecl) { in translateAttrExpr() argument 130 if (SelfDecl && !Ctx.SelfArg) { in translateAttrExpr() 131 DeclRefExpr SelfDRE(SelfDecl, false, SelfDecl->getType(), VK_LValue, in translateAttrExpr() 132 SelfDecl->getLocation()); in translateAttrExpr()
|
D | ThreadSafety.cpp | 936 const NamedDecl *D, VarDecl *SelfDecl = nullptr); 1252 VarDecl *SelfDecl) { in getMutexIDs() argument 1255 CapabilityExpr Cp = SxBuilder.translateAttrExpr(nullptr, D, Exp, SelfDecl); in getMutexIDs() 1267 CapabilityExpr Cp = SxBuilder.translateAttrExpr(Arg, D, Exp, SelfDecl); in getMutexIDs()
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 1253 ImplicitParamDecl *SelfDecl = getterMethod->getSelfDecl(); in ActOnPropertyImplDecl() local 1255 new (Context) DeclRefExpr(SelfDecl, false, SelfDecl->getType(), in ActOnPropertyImplDecl() 1259 ImplicitCastExpr::Create(Context, SelfDecl->getType(), in ActOnPropertyImplDecl() 1264 Ivar->getUsageType(SelfDecl->getType()), in ActOnPropertyImplDecl() 1305 ImplicitParamDecl *SelfDecl = setterMethod->getSelfDecl(); in ActOnPropertyImplDecl() local 1307 new (Context) DeclRefExpr(SelfDecl, false, SelfDecl->getType(), in ActOnPropertyImplDecl() 1311 ImplicitCastExpr::Create(Context, SelfDecl->getType(), in ActOnPropertyImplDecl() 1316 Ivar->getUsageType(SelfDecl->getType()), in ActOnPropertyImplDecl()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NullabilityChecker.cpp | 405 const ImplicitParamDecl *SelfDecl = LocCtxt->getSelfDecl(); in checkSelfIvarsForInvariantViolation() local 406 if (!SelfDecl) in checkSelfIvarsForInvariantViolation() 409 SVal SelfVal = State->getSVal(State->getRegion(SelfDecl, LocCtxt)); in checkSelfIvarsForInvariantViolation() 412 dyn_cast<ObjCObjectPointerType>(SelfDecl->getType()); in checkSelfIvarsForInvariantViolation()
|
D | CheckObjCDealloc.cpp | 983 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in isInInstanceDealloc() local 984 assert(SelfDecl && "No self in -dealloc?"); in isInInstanceDealloc() 987 SelfValOut = State->getSVal(State->getRegion(SelfDecl, LCtx)); in isInInstanceDealloc()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 706 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in getSelfSVal() local 707 if (!SelfDecl) in getSelfSVal() 709 return getState()->getSVal(getState()->getRegion(SelfDecl, LCtx)); in getSelfSVal()
|
/external/clang/include/clang/AST/ |
D | DeclObjC.h | 184 ImplicitParamDecl *SelfDecl; variable 242 NumParams(0), DeclEndLoc(endLoc), Body(), SelfDecl(nullptr), in NamedDecl() 406 ImplicitParamDecl * getSelfDecl() const { return SelfDecl; } in getSelfDecl() 407 void setSelfDecl(ImplicitParamDecl *SD) { SelfDecl = SD; } in setSelfDecl()
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 244 if (ImplicitParamDecl *SelfDecl = OMD->getSelfDecl()) { in getObjCMethodName() local 246 cast<ObjCObjectPointerType>(SelfDecl->getType())->getPointeeType(); in getObjCMethodName() 2827 if (auto *SelfDecl = OMethod->getSelfDecl()) in getOrCreateFunctionType() local 2828 SelfDeclTy = SelfDecl->getType(); in getOrCreateFunctionType()
|