| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | ThreadSafetyCommon.cpp | 99 VarDecl *SelfDecl) { in translateAttrExpr() argument 130 if (SelfDecl && !Ctx.SelfArg) { in translateAttrExpr() 131 DeclRefExpr SelfDRE(SelfDecl->getASTContext(), SelfDecl, false, in translateAttrExpr() 132 SelfDecl->getType(), VK_LValue, in translateAttrExpr() 133 SelfDecl->getLocation()); in translateAttrExpr()
|
| H A D | ThreadSafety.cpp | 1038 const NamedDecl *D, VarDecl *SelfDecl = nullptr); 1351 VarDecl *SelfDecl) { in getMutexIDs() argument 1354 CapabilityExpr Cp = SxBuilder.translateAttrExpr(nullptr, D, Exp, SelfDecl); in getMutexIDs() 1366 CapabilityExpr Cp = SxBuilder.translateAttrExpr(Arg, D, Exp, SelfDecl); in getMutexIDs()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 1414 ImplicitParamDecl *SelfDecl = getterMethod->getSelfDecl(); in ActOnPropertyImplDecl() local 1416 DeclRefExpr(Context, SelfDecl, false, SelfDecl->getType(), VK_LValue, in ActOnPropertyImplDecl() 1420 ImplicitCastExpr::Create(Context, SelfDecl->getType(), in ActOnPropertyImplDecl() 1425 Ivar->getUsageType(SelfDecl->getType()), in ActOnPropertyImplDecl() 1466 ImplicitParamDecl *SelfDecl = setterMethod->getSelfDecl(); in ActOnPropertyImplDecl() local 1468 DeclRefExpr(Context, SelfDecl, false, SelfDecl->getType(), VK_LValue, in ActOnPropertyImplDecl() 1472 ImplicitCastExpr::Create(Context, SelfDecl->getType(), in ActOnPropertyImplDecl() 1477 Ivar->getUsageType(SelfDecl->getType()), in ActOnPropertyImplDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NullabilityChecker.cpp | 383 const ImplicitParamDecl *SelfDecl = LocCtxt->getSelfDecl(); in checkSelfIvarsForInvariantViolation() local 384 if (!SelfDecl) in checkSelfIvarsForInvariantViolation() 387 SVal SelfVal = State->getSVal(State->getRegion(SelfDecl, LocCtxt)); in checkSelfIvarsForInvariantViolation() 390 dyn_cast<ObjCObjectPointerType>(SelfDecl->getType()); in checkSelfIvarsForInvariantViolation()
|
| H A D | CheckObjCDealloc.cpp | 984 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in isInInstanceDealloc() local 985 assert(SelfDecl && "No self in -dealloc?"); in isInInstanceDealloc() 988 SelfValOut = State->getSVal(State->getRegion(SelfDecl, LCtx)); in isInInstanceDealloc()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | AnalysisConsumer.cpp | 653 if (ImplicitParamDecl *SelfDecl = OMD->getSelfDecl()) { in getFunctionName() local 655 cast<ObjCObjectPointerType>(SelfDecl->getType())->getPointeeType(); in getFunctionName()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallEvent.cpp | 954 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in getSelfSVal() local 955 if (!SelfDecl) in getSelfSVal() 957 return getState()->getSVal(getState()->getRegion(SelfDecl, LCtx)); in getSelfSVal()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 166 ImplicitParamDecl *SelfDecl = nullptr; variable 414 ImplicitParamDecl * getSelfDecl() const { return SelfDecl; } in getSelfDecl() 415 void setSelfDecl(ImplicitParamDecl *SD) { SelfDecl = SD; } in setSelfDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 298 if (ImplicitParamDecl *SelfDecl = OMD->getSelfDecl()) { in getObjCMethodName() local 300 cast<ObjCObjectPointerType>(SelfDecl->getType())->getPointeeType(); in getObjCMethodName() 3360 if (auto *SelfDecl = OMethod->getSelfDecl()) in getOrCreateFunctionType() local 3361 SelfDeclTy = SelfDecl->getType(); in getOrCreateFunctionType()
|
| H A D | CGBlocks.cpp | 1565 ImplicitParamDecl SelfDecl(getContext(), const_cast<BlockDecl *>(blockDecl), in GenerateBlockFunction() local 1568 args.push_back(&SelfDecl); in GenerateBlockFunction()
|