Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp252 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in getSelfSVal() local
253 if (!SelfDecl) in getSelfSVal()
255 return getSVal(getRegion(SelfDecl, LCtx)); in getSelfSVal()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp1432 ImplicitParamDecl *SelfDecl = getterMethod->getSelfDecl(); in ActOnPropertyImplDecl() local
1434 DeclRefExpr(Context, SelfDecl, false, SelfDecl->getType(), VK_LValue, in ActOnPropertyImplDecl()
1438 Context, SelfDecl->getType(), CK_LValueToRValue, SelfExpr, nullptr, in ActOnPropertyImplDecl()
1442 Ivar->getUsageType(SelfDecl->getType()), in ActOnPropertyImplDecl()
1494 ImplicitParamDecl *SelfDecl = setterMethod->getSelfDecl(); in ActOnPropertyImplDecl() local
1496 DeclRefExpr(Context, SelfDecl, false, SelfDecl->getType(), VK_LValue, in ActOnPropertyImplDecl()
1500 Context, SelfDecl->getType(), CK_LValueToRValue, SelfExpr, nullptr, in ActOnPropertyImplDecl()
1504 Ivar->getUsageType(SelfDecl->getType()), in ActOnPropertyImplDecl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp973 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in isInInstanceDealloc() local
974 assert(SelfDecl && "No self in -dealloc?"); in isInInstanceDealloc()
977 SelfValOut = State->getSVal(State->getRegion(SelfDecl, LCtx)); in isInInstanceDealloc()
H A DNullabilityChecker.cpp428 const ImplicitParamDecl *SelfDecl = LocCtxt->getSelfDecl(); in checkSelfIvarsForInvariantViolation() local
429 if (!SelfDecl) in checkSelfIvarsForInvariantViolation()
432 SVal SelfVal = State->getSVal(State->getRegion(SelfDecl, LocCtxt)); in checkSelfIvarsForInvariantViolation()
435 dyn_cast<ObjCObjectPointerType>(SelfDecl->getType()); in checkSelfIvarsForInvariantViolation()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h163 ImplicitParamDecl *SelfDecl = nullptr; variable
418 ImplicitParamDecl * getSelfDecl() const { return SelfDecl; } in getSelfDecl()
419 void setSelfDecl(ImplicitParamDecl *SD) { SelfDecl = SD; } in setSelfDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp1463 ImplicitParamDecl SelfDecl(getContext(), const_cast<BlockDecl *>(blockDecl), in GenerateBlockFunction() local
1466 args.push_back(&SelfDecl); in GenerateBlockFunction()
H A DCGDebugInfo.cpp4311 if (auto *SelfDecl = OMethod->getSelfDecl()) in getOrCreateFunctionType() local
4312 SelfDeclTy = SelfDecl->getType(); in getOrCreateFunctionType()