| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterObjCTest.cpp | 47 EXPECT_TRUE(FromMethod->getSelfDecl() != nullptr); in TEST_P() 48 EXPECT_TRUE(ToMethod->getSelfDecl() != nullptr); in TEST_P()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | AnalysisDeclContext.h | 178 const ImplicitParamDecl *getSelfDecl() const; 260 const ImplicitParamDecl *getSelfDecl() const { return Ctx->getSelfDecl(); } in getSelfDecl() function
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ObjCSelfInitChecker.cpp | 414 if (!analCtx->getSelfDecl()) in isSelfVar() 421 return (DR->getDecl() == analCtx->getSelfDecl()); in isSelfVar()
|
| H A D | CheckObjCDealloc.cpp | 982 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in isInInstanceDealloc()
|
| H A D | NullabilityChecker.cpp | 384 const ImplicitParamDecl *SelfDecl = LocCtxt->getSelfDecl(); in checkSelfIvarsForInvariantViolation()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | TransZeroOutPropsInDealloc.cpp | 110 SelfD = D->getSelfDecl(); in TraverseObjCMethodDecl()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | AnalysisDeclContext.cpp | 148 const ImplicitParamDecl *AnalysisDeclContext::getSelfDecl() const { in getSelfDecl() function in AnalysisDeclContext 150 return MD->getSelfDecl(); in getSelfDecl()
|
| H A D | LiveVariables.cpp | 249 LV.analysisContext.getSelfDecl()); in Visit()
|
| H A D | BodyFarm.cpp | 849 const VarDecl *selfVar = MD->getSelfDecl(); in createObjCPropertyGetter()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGObjCRuntime.cpp | 406 auto self = curMethod->getSelfDecl(); in canMessageReceiverBeNull()
|
| H A D | CGObjC.cpp | 678 GetAddrOfLocalVar(cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl()); in EmitObjCMessageExpr() 706 GetAddrOfLocalVar(cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl()); in EmitObjCMessageExpr() 770 args.push_back(OMD->getSelfDecl()); in StartObjCMethod() 1522 ValueDecl *selfDecl = setterMethod->getSelfDecl(); in generateObjCSetterBody() 1699 VarDecl *Self = cast<ObjCMethodDecl>(CurFuncDecl)->getSelfDecl(); in LoadObjCSelf() 1708 ImplicitParamDecl *selfDecl = OMD->getSelfDecl(); in TypeOfSelfObject()
|
| H A D | CGCall.cpp | 474 return arrangeObjCMessageSendSignature(MD, MD->getSelfDecl()->getType()); in arrangeObjCMethodDeclaration() 3186 const VarDecl *self = method->getSelfDecl(); in tryRemoveRetainOfSelf()
|
| H A D | CGDebugInfo.cpp | 3994 if (auto *SelfDecl = OMethod->getSelfDecl()) in getOrCreateFunctionType()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ProgramState.cpp | 240 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in getSelfSVal()
|
| H A D | CallEvent.cpp | 1331 const VarDecl *SelfD = CalleeCtx->getAnalysisDeclContext()->getSelfDecl(); in getInitialStackFrameContents()
|
| H A D | ExprEngine.cpp | 282 const ImplicitParamDecl *SelfD = MD->getSelfDecl(); in getInitialState()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 1063 ImplDecl->setSelfDecl(Decl->getSelfDecl()); in RedeclarePropertyAccessor() 1454 ImplicitParamDecl *SelfDecl = getterMethod->getSelfDecl(); in ActOnPropertyImplDecl() 1516 ImplicitParamDecl *SelfDecl = setterMethod->getSelfDecl(); in ActOnPropertyImplDecl()
|
| H A D | SemaExprObjC.cpp | 1425 tryCaptureVariable(method->getSelfDecl(), Loc); in tryCaptureObjCSelf() 1930 if (DRE->getDecl() == method->getSelfDecl()) in isSelfExpr()
|
| H A D | SemaDeclObjC.cpp | 390 PushOnScopeChains(MDecl->getSelfDecl(), FnBodyScope); in ActOnStartOfObjCMethodDef()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXCursor.cpp | 575 if (MD->getSelfDecl() == IPD) { in MakeCXCursor()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 423 ImplicitParamDecl * getSelfDecl() const { return SelfDecl; } in getSelfDecl() function
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 2675 new (Context) DeclRefExpr(*Context, CurMethodDef->getSelfDecl(), false, in SynthMessageExpr() 2766 new (Context) DeclRefExpr(*Context, CurMethodDef->getSelfDecl(), false, in SynthMessageExpr()
|
| H A D | RewriteModernObjC.cpp | 3248 new (Context) DeclRefExpr(*Context, CurMethodDef->getSelfDecl(), false, in SynthMessageExpr() 3340 new (Context) DeclRefExpr(*Context, CurMethodDef->getSelfDecl(), false, in SynthMessageExpr()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 696 Record.AddDeclRef(D->getSelfDecl()); in VisitObjCMethodDecl()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Expr.cpp | 3937 return M->getSelfDecl() == Param; in isObjCSelfExpr()
|