| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 91 ObjCMethodDecl * 823 ObjCMethodDecl::ObjCMethodDecl( in ObjCMethodDecl() function in ObjCMethodDecl 853 ObjCMethodDecl *ObjCMethodDecl::Create( in Create() 866 ObjCMethodDecl *ObjCMethodDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 913 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() 963 ObjCMethodDecl *ObjCMethodDecl::getNextRedeclarationImpl() { in getNextRedeclarationImpl() 1012 ObjCMethodDecl *ObjCMethodDecl::getCanonicalDecl() { in getCanonicalDecl() 1038 ObjCMethodDecl *MD = in getCanonicalDecl() 1266 if (ObjCMethodDecl * in CollectOverriddenMethodsRecurse() 1283 if (const ObjCMethodDecl * in CollectOverriddenMethodsRecurse() [all …]
|
| H A D | ExprObjC.cpp | 29 ObjCMethodDecl *Method, SourceRange SR) in ObjCArrayLiteral() 41 QualType T, ObjCMethodDecl *Method, in Create() 55 ObjCMethodDecl *method, in ObjCDictionaryLiteral() 81 ObjCMethodDecl *method, SourceRange SR) { in Create() 112 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in ObjCMessageExpr() 131 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in ObjCMessageExpr() 179 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in Create() 198 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in Create() 217 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in Create() 266 if (const ObjCMethodDecl *MD = getMethodDecl()) { in getCallReturnType() [all …]
|
| H A D | Mangle.cpp | 189 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName() 210 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName() 299 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(DC)) { in mangleBlock() 329 void MangleContext::mangleObjCMethodName(const ObjCMethodDecl *MD, in mangleObjCMethodName() 386 void MangleContext::mangleObjCMethodNameAsSourceName(const ObjCMethodDecl *MD, in mangleObjCMethodNameAsSourceName() 417 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in writeName()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | ObjCMethodList.h | 21 class ObjCMethodDecl; variable 28 llvm::PointerIntPair<ObjCMethodDecl *, 1> MethodAndHasMoreThanOneDecl; 33 ObjCMethodList(ObjCMethodDecl *M) in ObjCMethodList() 50 ObjCMethodDecl *getMethod() const { in getMethod() 53 void setMethod(ObjCMethodDecl *M) { in setMethod()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ExprObjC.h | 129 ObjCMethodDecl *BoxingMethod; 146 ObjCMethodDecl *getBoxingMethod() const { in getBoxingMethod() 194 ObjCMethodDecl *ArrayWithObjectsMethod; 324 ObjCMethodDecl *DictWithObjectsMethod; 668 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, in ObjCPropertyRefExpr() 678 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, in ObjCPropertyRefExpr() 689 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, in ObjCPropertyRefExpr() 817 void setImplicitProperty(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, in setImplicitProperty() 854 ObjCMethodDecl *GetAtIndexMethodDecl; 858 ObjCMethodDecl *SetAtIndexMethodDecl; [all …]
|
| H A D | DeclObjC.h | 169 ObjCMethodDecl( 229 static ObjCMethodDecl * 241 ObjCMethodDecl *getCanonicalDecl() override; 242 const ObjCMethodDecl *getCanonicalDecl() const { in getCanonicalDecl() 767 ObjCMethodDecl *GetterMethodDecl = nullptr; 770 ObjCMethodDecl *SetterMethodDecl = nullptr; 1025 filtered_decl_iterator<ObjCMethodDecl, 1042 filtered_decl_iterator<ObjCMethodDecl, 2493 void addClassMethod(ObjCMethodDecl *method) { in addClassMethod() 2827 ObjCMethodDecl *GetterMethodDecl = nullptr; [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IvarInvalidationChecker.cpp | 57 typedef llvm::SmallSetVector<const ObjCMethodDecl*, 2> MethodSet; 58 typedef llvm::DenseMap<const ObjCMethodDecl*, 73 void addInvalidationMethod(const ObjCMethodDecl *MD) { in addInvalidationMethod() 81 bool hasMethod(const ObjCMethodDecl *MD) { in hasMethod() 84 for (const ObjCMethodDecl *Curr : InvalidationMethods) { in hasMethod() 116 const ObjCMethodDecl *InvalidationMethod; 251 cast<ObjCMethodDecl>(MDI->getCanonicalDecl())); in containsInvalidationMethod() 397 const ObjCMethodDecl *SetterD = PD->getSetterMethodDecl(); in visit() 403 const ObjCMethodDecl *GetterD = PD->getGetterMethodDecl(); in visit() 592 const ObjCMethodDecl *MD = ME->getMethodDecl(); in checkObjCMessageExpr() [all …]
|
| H A D | DirectIvarAssignment.cpp | 42 static bool DefaultMethodFilter(const ObjCMethodDecl *M) { in DefaultMethodFilter() 61 const ObjCMethodDecl *MD; 68 MethodCrawler(const IvarToPropertyMapTy &InMap, const ObjCMethodDecl *InMD, in MethodCrawler() 86 bool (*ShouldSkipMethod)(const ObjCMethodDecl *); 189 ObjCMethodDecl *GetterMethod = in VisitBinaryOperator() 191 ObjCMethodDecl *SetterMethod = in VisitBinaryOperator() 212 static bool AttrFilter(const ObjCMethodDecl *M) { in AttrFilter()
|
| H A D | CheckObjCInstMethSignature.cpp | 39 static void CompareReturnTypes(const ObjCMethodDecl *MethDerived, in CompareReturnTypes() 40 const ObjCMethodDecl *MethAncestor, in CompareReturnTypes() 89 typedef llvm::DenseMap<Selector,ObjCMethodDecl*> MapTy; in CheckObjCInstMethSignature() 110 ObjCMethodDecl *MethDerived = MI->second; in CheckObjCInstMethSignature()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGObjCRuntime.h | 50 class ObjCMethodDecl; variable 120 std::string getSymbolNameForMethod(const ObjCMethodDecl *method, 140 const ObjCMethodDecl *Method) = 0; 175 const ObjCMethodDecl *Method = nullptr) = 0; 189 const ObjCMethodDecl *Method, 208 const ObjCMethodDecl *Method = nullptr) = 0; 240 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 246 const ObjCMethodDecl *OMD, 338 MessageSendInfo getMessageSendInfo(const ObjCMethodDecl *method, 342 const ObjCMethodDecl *method, [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 564 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr() 677 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr() 1420 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(DC); in tryCaptureObjCSelf() 1541 const ObjCMethodDecl *MD = cast<ObjCMethodDecl>( in getMessageSendResultType() 1622 static const ObjCMethodDecl * 1659 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurContext); in EmitRelatedResultTypeNoteForReturn() 1920 ObjCMethodDecl *Method = in isSelfExpr() 1964 ObjCMethodDecl *MD = nullptr; in LookupMethodInQualifiedType() 2508 ObjCMethodDecl *ImpliedMethod; in checkFoundationAPI() 3368 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(CurContext); in BuildInstanceMessage() [all …]
|
| H A D | SemaDeclObjC.cpp | 292 if (isa<ObjCMethodDecl>(ND)) { in DiagnoseObjCImplementedDeprecations() 315 << (isa<ObjCMethodDecl>(ND) in DiagnoseObjCImplementedDeprecations() 319 if (isa<ObjCMethodDecl>(ND)) in DiagnoseObjCImplementedDeprecations() 330 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in AddAnyMethodToGlobalPool() 365 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in ActOnStartOfObjCMethodDef() 438 ObjCMethodDecl *IMD = in ActOnStartOfObjCMethodDef() 3704 const ObjCMethodDecl * 4015 ObjCMethodDecl *Method = in ActOnAtEnd() 4280 const ObjCMethodDecl *Method; 4756 ObjCMethodDecl *ObjCMethod = ObjCMethodDecl::Create( in ActOnMethodDeclaration() [all …]
|
| H A D | SemaObjCProperty.cpp | 1047 static ObjCMethodDecl * 1051 ObjCMethodDecl *Decl = AccessorDecl; in RedeclarePropertyAccessor() 1052 ObjCMethodDecl *ImplDecl = ObjCMethodDecl::Create( in RedeclarePropertyAccessor() 1439 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl() 1503 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl() 2177 ObjCMethodDecl *GetterMethod = nullptr; in AtomicPropertySetterGetterRules() 2178 ObjCMethodDecl *SetterMethod = nullptr; in AtomicPropertySetterGetterRules() 2332 const ObjCMethodDecl *MD = *I; in DiagnoseMissingDesignatedInitOverrides() 2375 ObjCMethodDecl *GetterMethod, *SetterMethod; in ProcessPropertyDecl() 2485 GetterMethod = ObjCMethodDecl::Create( in ProcessPropertyDecl() [all …]
|
| H A D | SemaAvailability.cpp | 100 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in ShouldDiagnoseAvailabilityOfDecl() 102 ObjCMethodDecl *Init = ClassReceiver->lookupInstanceMethod( in ShouldDiagnoseAvailabilityOfDecl() 151 if (const auto *MD = dyn_cast<ObjCMethodDecl>(OffendingDecl)) { in ShouldDiagnoseAvailabilityInContext() 170 if (const auto *MethodD = dyn_cast<ObjCMethodDecl>(Ctx)) in ShouldDiagnoseAvailabilityInContext() 222 if (isa<TagDecl>(Ctx) || isa<FunctionDecl>(Ctx) || isa<ObjCMethodDecl>(Ctx)) in findEnclosingDeclToAnnotate() 300 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in createAttributeInsertion() 515 if (const auto *MethodDecl = dyn_cast<ObjCMethodDecl>(ReferringDecl)) { in DoEmitAvailabilityWarning() 727 if (ObjCMethodDecl *D = Msg->getMethodDecl()) { in VisitObjCMessageExpr() 942 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(D)) in DiagnoseUnguardedAvailabilityViolations() 992 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in DiagnoseAvailabilityOfDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | CodeInjector.h | 23 class ObjCMethodDecl; variable 41 virtual Stmt *getBody(const ObjCMethodDecl *D) = 0;
|
| H A D | AnyCall.h | 98 AnyCall(const ObjCMethodDecl *D) : E(nullptr), D(D), K(ObjCMethod) {} in AnyCall() 137 } else if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in forDecl() 150 } else if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in parameters() 174 return cast<ObjCMethodDecl>(D)->getReturnType(); in getReturnType()
|
| H A D | BodyFarm.h | 26 class ObjCMethodDecl; variable 38 Stmt *getBody(const ObjCMethodDecl *D);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexBody.cpp | 136 else if (auto *MD = dyn_cast<ObjCMethodDecl>(ParentDC)) in addCallRole() 246 if (ObjCMethodDecl *MD = E->getMethodDecl()) { in VisitObjCMessageExpr() 261 if (const ObjCMethodDecl *Getter = PRE->getImplicitPropertyGetter()) { in VisitObjCMessageExpr() 312 } else if (const ObjCMethodDecl *Getter = E->getImplicitPropertyGetter()) { in VisitObjCPropertyRefExpr() 341 bool passObjCLiteralMethodCall(const ObjCMethodDecl *MD, const Expr *E) { in passObjCLiteralMethodCall() 351 if (ObjCMethodDecl *MD = E->getBoxingMethod()) { in VisitObjCBoxedExpr() 358 if (ObjCMethodDecl *MD = E->getDictWithObjectsMethod()) { in VisitObjCDictionaryLiteral() 365 if (ObjCMethodDecl *MD = E->getArrayWithObjectsMethod()) { in VisitObjCArrayLiteral()
|
| H A D | IndexDecl.cpp | 79 static bool hasUserDefined(const ObjCMethodDecl *D, in hasUserDefined() 81 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined() 110 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(DC)) { in handleDeclarator() 139 bool handleObjCMethod(const ObjCMethodDecl *D, in handleObjCMethod() 142 SmallVector<const ObjCMethodDecl*, 4> Overriden; in handleObjCMethod() 513 bool VisitObjCMethodDecl(const ObjCMethodDecl *D) { in VisitObjCMethodDecl() 524 if (ObjCMethodDecl *MD = D->getGetterMethodDecl()) in VisitObjCPropertyDecl() 527 if (ObjCMethodDecl *MD = D->getSetterMethodDecl()) in VisitObjCPropertyDecl() 559 if (ObjCMethodDecl *MD = PD->getGetterMethodDecl()) { in VisitObjCPropertyImplDecl() 563 if (ObjCMethodDecl *MD = PD->getSetterMethodDecl()) { in VisitObjCPropertyImplDecl() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 58 ObjCMethodDecl *OM); 63 ObjCMethodDecl *OM, 174 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) in canModify() 243 const ObjCMethodDecl *Method = Msg->getMethodDecl(); in rewriteToPropertyDotSyntax() 377 if (isa<ObjCMethodDecl>(D)) in migrateDecl() 452 static void rewriteToObjCProperty(const ObjCMethodDecl *Getter, in rewriteToObjCProperty() 647 if (ObjCMethodDecl *ImpMD = dyn_cast<ObjCMethodDecl>(ND)) in ClassImplementsAllMethodsAndProperties() 954 ObjCMethodDecl *OM) { in ReplaceWithInstancetype() 976 ObjCMethodDecl *OM) { in ReplaceWithClasstype() 1153 ObjCMethodDecl *Method) { in migrateProperty() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ASTResultSynthesizer.h | 19 class ObjCMethodDecl; variable 118 bool SynthesizeObjCMethodResult(clang::ObjCMethodDecl *MethodDecl);
|
| H A D | ASTResultSynthesizer.cpp | 64 else if (ObjCMethodDecl *method_decl = dyn_cast<ObjCMethodDecl>(D)) in TransformTopLevelDecl() 84 if (ObjCMethodDecl *method_decl = dyn_cast<ObjCMethodDecl>(D)) { in TransformTopLevelDecl() 157 ObjCMethodDecl *MethodDecl) { in SynthesizeObjCMethodResult()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | AnalysisConsumer.cpp | 324 bool VisitObjCMethodDecl(ObjCMethodDecl *MD) { in VisitObjCMethodDecl() 382 if (isa<ObjCMethodDecl>(I)) in storeTopLevelDecls() 409 if (isa<ObjCMethodDecl>(D)) in shouldSkipFunction() 429 if (Visited.count(D) && isa<ObjCMethodDecl>(D)) { in getInliningModeForFunction() 430 const ObjCMethodDecl *ObjCM = cast<ObjCMethodDecl>(D); in getInliningModeForFunction() 493 Visited.insert(isa<ObjCMethodDecl>(Callee) ? Callee in HandleDeclsCallGraph()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallEvent.cpp | 355 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) in getDeclaredResultType() 385 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) in isVariadic() 973 const ObjCMethodDecl *D = getDecl(); in parameters() 1123 const ObjCMethodDecl *MD = getDecl(); in getAccessedProperty() 1154 ObjCMethodDecl *D = nullptr; in canBeOverridenInSubclass() 1185 static const ObjCMethodDecl *findDefiningRedecl(const ObjCMethodDecl *MD) { in findDefiningRedecl() 1193 MD = cast<ObjCMethodDecl>(I); in findDefiningRedecl() 1234 static const ObjCMethodDecl * 1255 std::optional<const ObjCMethodDecl *> &Val = in lookupRuntimeDefinition() 1350 const ObjCMethodDecl *MD = in getRuntimeDefinition() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderInternals.h | 33 class ObjCMethodDecl; variable 201 SmallVector<ObjCMethodDecl *, 2> Instance; 202 SmallVector<ObjCMethodDecl *, 2> Factory;
|