| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ThreadSafetyCommon.cpp | 121 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 D | ThreadSafety.cpp | 1032 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 D | ProgramState.cpp | 240 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 D | SemaObjCProperty.cpp | 1454 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 D | NullabilityChecker.cpp | 384 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 D | CheckObjCDealloc.cpp | 982 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 D | DeclObjC.h | 166 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 D | CGBlocks.cpp | 1486 ImplicitParamDecl SelfDecl(getContext(), const_cast<BlockDecl *>(blockDecl), in GenerateBlockFunction() local 1489 args.push_back(&SelfDecl); in GenerateBlockFunction()
|
| H A D | CGDebugInfo.cpp | 3994 if (auto *SelfDecl = OMethod->getSelfDecl()) in getOrCreateFunctionType() local 3995 SelfDeclTy = SelfDecl->getType(); in getOrCreateFunctionType()
|