Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp98 VarDecl *SelfDecl) { in translateAttrExpr() argument
129 if (SelfDecl && !Ctx.SelfArg) { in translateAttrExpr()
130 DeclRefExpr SelfDRE(SelfDecl->getASTContext(), SelfDecl, false, in translateAttrExpr()
131 SelfDecl->getType(), VK_LValue, in translateAttrExpr()
132 SelfDecl->getLocation()); in translateAttrExpr()
H A DThreadSafety.cpp1038 const NamedDecl *D, VarDecl *SelfDecl = nullptr);
1366 VarDecl *SelfDecl) { in getMutexIDs() argument
1369 CapabilityExpr Cp = SxBuilder.translateAttrExpr(nullptr, D, Exp, SelfDecl); in getMutexIDs()
1381 CapabilityExpr Cp = SxBuilder.translateAttrExpr(Arg, D, Exp, SelfDecl); in getMutexIDs()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp244 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in getSelfSVal() local
245 if (!SelfDecl) in getSelfSVal()
247 return getSVal(getRegion(SelfDecl, LCtx)); in getSelfSVal()
/netbsd-src/external/apache2/llvm/dist/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()
1517 ImplicitParamDecl *SelfDecl = setterMethod->getSelfDecl(); in ActOnPropertyImplDecl() local
1519 DeclRefExpr(Context, SelfDecl, false, SelfDecl->getType(), VK_LValue, in ActOnPropertyImplDecl()
1523 Context, SelfDecl->getType(), CK_LValueToRValue, SelfExpr, nullptr, in ActOnPropertyImplDecl()
1527 Ivar->getUsageType(SelfDecl->getType()), in ActOnPropertyImplDecl()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGBlocks.cpp1483 ImplicitParamDecl SelfDecl(getContext(), const_cast<BlockDecl *>(blockDecl), in GenerateBlockFunction() local
1486 args.push_back(&SelfDecl); in GenerateBlockFunction()
H A DCGDebugInfo.cpp3840 if (auto *SelfDecl = OMethod->getSelfDecl()) in getOrCreateFunctionType() local
3841 SelfDeclTy = SelfDecl->getType(); in getOrCreateFunctionType()