Home
last modified time | relevance | path

Searched refs:SelfDecl (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp121 VarDecl *SelfDecl) { in translateAttrExpr() argument
152 if (SelfDecl && !Ctx.SelfArg) { in translateAttrExpr()
153 DeclRefExpr SelfDRE(SelfDecl->getASTContext(), SelfDecl, false, in translateAttrExpr()
154 SelfDecl->getType(), VK_LValue, in translateAttrExpr()
155 SelfDecl->getLocation()); in translateAttrExpr()
H A DThreadSafety.cpp1032 const NamedDecl *D, VarDecl *SelfDecl = nullptr);
1314 VarDecl *SelfDecl) { in getMutexIDs() argument
1317 CapabilityExpr Cp = SxBuilder.translateAttrExpr(nullptr, D, Exp, SelfDecl); in getMutexIDs()
1329 CapabilityExpr Cp = SxBuilder.translateAttrExpr(Arg, D, Exp, SelfDecl); in getMutexIDs()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp240 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in getSelfSVal() local
241 if (!SelfDecl) in getSelfSVal()
243 return getSVal(getRegion(SelfDecl, LCtx)); in getSelfSVal()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaObjCProperty.cpp1454 ImplicitParamDecl *SelfDecl = getterMethod->getSelfDecl(); in ActOnPropertyImplDecl() local
1456 DeclRefExpr(Context, SelfDecl, false, SelfDecl->getType(), VK_LValue, in ActOnPropertyImplDecl()
1460 Context, SelfDecl->getType(), CK_LValueToRValue, SelfExpr, nullptr, in ActOnPropertyImplDecl()
1464 Ivar->getUsageType(SelfDecl->getType()), in ActOnPropertyImplDecl()
1516 ImplicitParamDecl *SelfDecl = setterMethod->getSelfDecl(); in ActOnPropertyImplDecl() local
1518 DeclRefExpr(Context, SelfDecl, false, SelfDecl->getType(), VK_LValue, in ActOnPropertyImplDecl()
1522 Context, SelfDecl->getType(), CK_LValueToRValue, SelfExpr, nullptr, in ActOnPropertyImplDecl()
1526 Ivar->getUsageType(SelfDecl->getType()), in ActOnPropertyImplDecl()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DNullabilityChecker.cpp384 const ImplicitParamDecl *SelfDecl = LocCtxt->getSelfDecl(); in checkSelfIvarsForInvariantViolation() local
385 if (!SelfDecl) in checkSelfIvarsForInvariantViolation()
388 SVal SelfVal = State->getSVal(State->getRegion(SelfDecl, LocCtxt)); in checkSelfIvarsForInvariantViolation()
391 dyn_cast<ObjCObjectPointerType>(SelfDecl->getType()); in checkSelfIvarsForInvariantViolation()
H A DCheckObjCDealloc.cpp982 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in isInInstanceDealloc() local
983 assert(SelfDecl && "No self in -dealloc?"); in isInInstanceDealloc()
986 SelfValOut = State->getSVal(State->getRegion(SelfDecl, LCtx)); in isInInstanceDealloc()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclObjC.h166 ImplicitParamDecl *SelfDecl = nullptr; variable
423 ImplicitParamDecl * getSelfDecl() const { return SelfDecl; } in getSelfDecl()
424 void setSelfDecl(ImplicitParamDecl *SD) { SelfDecl = SD; } in setSelfDecl()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBlocks.cpp1486 ImplicitParamDecl SelfDecl(getContext(), const_cast<BlockDecl *>(blockDecl), in GenerateBlockFunction() local
1489 args.push_back(&SelfDecl); in GenerateBlockFunction()
H A DCGDebugInfo.cpp3994 if (auto *SelfDecl = OMethod->getSelfDecl()) in getOrCreateFunctionType() local
3995 SelfDeclTy = SelfDecl->getType(); in getOrCreateFunctionType()