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.cpp240 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in getSelfSVal() local
241 if (!SelfDecl) in getSelfSVal()
243 return getSVal(getRegion(SelfDecl, LCtx)); in getSelfSVal()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp1442 ImplicitParamDecl *SelfDecl = getterMethod->getSelfDecl(); in ActOnPropertyImplDecl() local
1444 DeclRefExpr(Context, SelfDecl, false, SelfDecl->getType(), VK_LValue, in ActOnPropertyImplDecl()
1448 Context, SelfDecl->getType(), CK_LValueToRValue, SelfExpr, nullptr, in ActOnPropertyImplDecl()
1452 Ivar->getUsageType(SelfDecl->getType()), in ActOnPropertyImplDecl()
1504 ImplicitParamDecl *SelfDecl = setterMethod->getSelfDecl(); in ActOnPropertyImplDecl() local
1506 DeclRefExpr(Context, SelfDecl, false, SelfDecl->getType(), VK_LValue, in ActOnPropertyImplDecl()
1510 Context, SelfDecl->getType(), CK_LValueToRValue, SelfExpr, nullptr, in ActOnPropertyImplDecl()
1514 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.cpp425 const ImplicitParamDecl *SelfDecl = LocCtxt->getSelfDecl(); in checkSelfIvarsForInvariantViolation() local
426 if (!SelfDecl) in checkSelfIvarsForInvariantViolation()
429 SVal SelfVal = State->getSVal(State->getRegion(SelfDecl, LocCtxt)); in checkSelfIvarsForInvariantViolation()
432 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.cpp1495 ImplicitParamDecl SelfDecl(getContext(), const_cast<BlockDecl *>(blockDecl), in GenerateBlockFunction() local
1498 args.push_back(&SelfDecl); in GenerateBlockFunction()
H A DCGDebugInfo.cpp4568 if (auto *SelfDecl = OMethod->getSelfDecl()) in getOrCreateFunctionType() local
4569 SelfDeclTy = SelfDecl->getType(); in getOrCreateFunctionType()