Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp239 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in getSelfSVal() local
240 if (!SelfDecl) in getSelfSVal()
242 return getSVal(getRegion(SelfDecl, LCtx)); in getSelfSVal()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DNullabilityChecker.cpp420 const ImplicitParamDecl *SelfDecl = LocCtxt->getSelfDecl(); in checkSelfIvarsForInvariantViolation() local
421 if (!SelfDecl) in checkSelfIvarsForInvariantViolation()
424 SVal SelfVal = State->getSVal(State->getRegion(SelfDecl, LocCtxt)); in checkSelfIvarsForInvariantViolation()
427 dyn_cast<ObjCObjectPointerType>(SelfDecl->getType()); in checkSelfIvarsForInvariantViolation()
H A DCheckObjCDealloc.cpp983 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()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclObjC.h165 ImplicitParamDecl *SelfDecl = nullptr; variable
420 ImplicitParamDecl * getSelfDecl() const { return SelfDecl; } in getSelfDecl()
421 void setSelfDecl(ImplicitParamDecl *SD) { SelfDecl = SD; } in setSelfDecl()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGBlocks.cpp1482 ImplicitParamDecl SelfDecl(getContext(), const_cast<BlockDecl *>(blockDecl), in GenerateBlockFunction() local
1485 args.push_back(&SelfDecl); in GenerateBlockFunction()
H A DCGDebugInfo.cpp4012 if (auto *SelfDecl = OMethod->getSelfDecl()) in getOrCreateFunctionType() local
4013 SelfDeclTy = SelfDecl->getType(); in getOrCreateFunctionType()