| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 91 ObjCMethodDecl * 780 ObjCMethodDecl::ObjCMethodDecl( in ObjCMethodDecl() function in ObjCMethodDecl 810 ObjCMethodDecl *ObjCMethodDecl::Create( in Create() 823 ObjCMethodDecl *ObjCMethodDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 862 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() 912 ObjCMethodDecl *ObjCMethodDecl::getNextRedeclarationImpl() { in getNextRedeclarationImpl() 961 ObjCMethodDecl *ObjCMethodDecl::getCanonicalDecl() { in getCanonicalDecl() 987 ObjCMethodDecl *MD = in getCanonicalDecl() 1215 if (ObjCMethodDecl * in CollectOverriddenMethodsRecurse() 1232 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 | 191 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName() 208 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName() 291 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(DC)) { in mangleBlock() 321 void MangleContext::mangleObjCMethodName(const ObjCMethodDecl *MD, in mangleObjCMethodName() 378 void MangleContext::mangleObjCMethodNameAsSourceName(const ObjCMethodDecl *MD, in mangleObjCMethodNameAsSourceName() 409 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in writeName()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ExprObjC.h | 130 ObjCMethodDecl *BoxingMethod; 147 ObjCMethodDecl *getBoxingMethod() const { in getBoxingMethod() 195 ObjCMethodDecl *ArrayWithObjectsMethod; 324 ObjCMethodDecl *DictWithObjectsMethod; 665 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, in ObjCPropertyRefExpr() 675 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, in ObjCPropertyRefExpr() 686 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, in ObjCPropertyRefExpr() 814 void setImplicitProperty(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, in setImplicitProperty() 851 ObjCMethodDecl *GetAtIndexMethodDecl; 855 ObjCMethodDecl *SetAtIndexMethodDecl; [all …]
|
| H A D | DeclObjC.h | 232 static ObjCMethodDecl * 244 ObjCMethodDecl *getCanonicalDecl() override; 245 const ObjCMethodDecl *getCanonicalDecl() const { in getCanonicalDecl() 764 ObjCMethodDecl *GetterMethodDecl = nullptr; 767 ObjCMethodDecl *SetterMethodDecl = nullptr; 1026 filtered_decl_iterator<ObjCMethodDecl, 1043 filtered_decl_iterator<ObjCMethodDecl, 1063 ObjCMethodDecl *getInstanceMethod(Selector Sel, 2434 void addClassMethod(ObjCMethodDecl *method) { in addClassMethod() 2766 ObjCMethodDecl *GetterMethodDecl = nullptr; [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IvarInvalidationChecker.cpp | 57 typedef llvm::DenseMap<const ObjCMethodDecl*, 72 void addInvalidationMethod(const ObjCMethodDecl *MD) { in addInvalidationMethod() 80 bool hasMethod(const ObjCMethodDecl *MD) { in hasMethod() 116 const ObjCMethodDecl *InvalidationMethod; 251 cast<ObjCMethodDecl>(MDI->getCanonicalDecl())); in containsInvalidationMethod() 402 const ObjCMethodDecl *SetterD = PD->getSetterMethodDecl(); in visit() 408 const ObjCMethodDecl *GetterD = PD->getGetterMethodDecl(); in visit() 429 const ObjCMethodDecl *InterfD = *I; in visit() 481 const ObjCMethodDecl *InterfD = *I; in visit() 606 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() 91 typedef llvm::DenseMap<Selector,ObjCMethodDecl*> MapTy; in CheckObjCInstMethSignature() 112 ObjCMethodDecl *MethDerived = MI->second; in CheckObjCInstMethSignature()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 563 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr() 676 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr() 1421 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(DC); in tryCaptureObjCSelf() 1542 const ObjCMethodDecl *MD = cast<ObjCMethodDecl>( in getMessageSendResultType() 1623 static const ObjCMethodDecl * 1660 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurContext); in EmitRelatedResultTypeNoteForReturn() 1920 ObjCMethodDecl *Method = in isSelfExpr() 1964 ObjCMethodDecl *MD = nullptr; in LookupMethodInQualifiedType() 2505 ObjCMethodDecl *ImpliedMethod; in checkFoundationAPI() 3369 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() 3689 const ObjCMethodDecl * 4000 ObjCMethodDecl *Method = in ActOnAtEnd() 4265 const ObjCMethodDecl *Method; 4737 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() 2181 ObjCMethodDecl *GetterMethod = nullptr; in AtomicPropertySetterGetterRules() 2182 ObjCMethodDecl *SetterMethod = nullptr; in AtomicPropertySetterGetterRules() 2336 const ObjCMethodDecl *MD = *I; in DiagnoseMissingDesignatedInitOverrides() 2379 ObjCMethodDecl *GetterMethod, *SetterMethod; in ProcessPropertyDecl() 2489 GetterMethod = ObjCMethodDecl::Create( in ProcessPropertyDecl() 2495 ? ObjCMethodDecl::Optional in ProcessPropertyDecl() 2496 : ObjCMethodDecl::Required); in ProcessPropertyDecl() [all …]
|
| H A D | SemaAvailability.cpp | 99 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in ShouldDiagnoseAvailabilityOfDecl() 101 ObjCMethodDecl *Init = ClassReceiver->lookupInstanceMethod( in ShouldDiagnoseAvailabilityOfDecl() 138 if (const auto *MD = dyn_cast<ObjCMethodDecl>(OffendingDecl)) { in ShouldDiagnoseAvailabilityInContext() 157 if (const auto *MethodD = dyn_cast<ObjCMethodDecl>(Ctx)) in ShouldDiagnoseAvailabilityInContext() 206 if (isa<TagDecl>(Ctx) || isa<FunctionDecl>(Ctx) || isa<ObjCMethodDecl>(Ctx)) in findEnclosingDeclToAnnotate() 284 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in createAttributeInsertion() 499 if (const auto *MethodDecl = dyn_cast<ObjCMethodDecl>(ReferringDecl)) { in DoEmitAvailabilityWarning() 689 if (ObjCMethodDecl *D = Msg->getMethodDecl()) { in VisitObjCMessageExpr() 899 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(D)) in DiagnoseUnguardedAvailabilityViolations() 949 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in DiagnoseAvailabilityOfDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGObjCRuntime.h | 49 class ObjCMethodDecl; variable 119 std::string getSymbolNameForMethod(const ObjCMethodDecl *method, 139 const ObjCMethodDecl *Method) = 0; 174 const ObjCMethodDecl *Method = nullptr) = 0; 188 const ObjCMethodDecl *Method, 207 const ObjCMethodDecl *Method = nullptr) = 0; 239 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 245 const ObjCMethodDecl *OMD, 337 MessageSendInfo getMessageSendInfo(const ObjCMethodDecl *method,
|
| /freebsd-13.1/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 | 97 AnyCall(const ObjCMethodDecl *D) : E(nullptr), D(D), K(ObjCMethod) {} in AnyCall() 136 } else if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in forDecl() 149 } else if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in parameters() 173 return cast<ObjCMethodDecl>(D)->getReturnType(); in getReturnType()
|
| H A D | BodyFarm.h | 26 class ObjCMethodDecl; variable 39 Stmt *getBody(const ObjCMethodDecl *D);
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 58 ObjCMethodDecl *OM); 63 ObjCMethodDecl *OM, 177 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) in canModify() 246 const ObjCMethodDecl *Method = Msg->getMethodDecl(); in rewriteToPropertyDotSyntax() 380 if (isa<ObjCMethodDecl>(D)) in migrateDecl() 455 static void rewriteToObjCProperty(const ObjCMethodDecl *Getter, in rewriteToObjCProperty() 651 if (ObjCMethodDecl *ImpMD = dyn_cast<ObjCMethodDecl>(ND)) in ClassImplementsAllMethodsAndProperties() 958 ObjCMethodDecl *OM) { in ReplaceWithInstancetype() 980 ObjCMethodDecl *OM) { in ReplaceWithClasstype() 1157 ObjCMethodDecl *Method) { in migrateProperty() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexBody.cpp | 132 else if (auto *MD = dyn_cast<ObjCMethodDecl>(ParentDC)) in addCallRole() 228 if (ObjCMethodDecl *MD = E->getMethodDecl()) { in VisitObjCMessageExpr() 243 if (const ObjCMethodDecl *Getter = PRE->getImplicitPropertyGetter()) { in VisitObjCMessageExpr() 294 } else if (const ObjCMethodDecl *Getter = E->getImplicitPropertyGetter()) { in VisitObjCPropertyRefExpr() 323 bool passObjCLiteralMethodCall(const ObjCMethodDecl *MD, const Expr *E) { in passObjCLiteralMethodCall() 333 if (ObjCMethodDecl *MD = E->getBoxingMethod()) { in VisitObjCBoxedExpr() 340 if (ObjCMethodDecl *MD = E->getDictWithObjectsMethod()) { in VisitObjCDictionaryLiteral() 347 if (ObjCMethodDecl *MD = E->getArrayWithObjectsMethod()) { in VisitObjCArrayLiteral()
|
| H A D | IndexDecl.cpp | 75 static bool hasUserDefined(const ObjCMethodDecl *D, in hasUserDefined() 77 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined() 106 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(DC)) { in handleDeclarator() 133 bool handleObjCMethod(const ObjCMethodDecl *D, in handleObjCMethod() 136 SmallVector<const ObjCMethodDecl*, 4> Overriden; in handleObjCMethod() 498 bool VisitObjCMethodDecl(const ObjCMethodDecl *D) { in VisitObjCMethodDecl() 509 if (ObjCMethodDecl *MD = D->getGetterMethodDecl()) in VisitObjCPropertyDecl() 512 if (ObjCMethodDecl *MD = D->getSetterMethodDecl()) in VisitObjCPropertyDecl() 544 if (ObjCMethodDecl *MD = PD->getGetterMethodDecl()) { in VisitObjCPropertyImplDecl() 548 if (ObjCMethodDecl *MD = PD->getSetterMethodDecl()) { in VisitObjCPropertyImplDecl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCDeclVendor.cpp | 300 clang::ObjCMethodDecl * 316 const clang::ObjCMethodDecl::ImplementationControl impControl = in BuildMethod() 317 clang::ObjCMethodDecl::None; in BuildMethod() 356 clang::ObjCMethodDecl *ret = clang::ObjCMethodDecl::Create( in BuildMethod() 445 clang::ObjCMethodDecl *method_decl = method_type.BuildMethod( in FinishDecl() 463 clang::ObjCMethodDecl *method_decl = method_type.BuildMethod( in FinishDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | AnalysisConsumer.cpp | 330 bool VisitObjCMethodDecl(ObjCMethodDecl *MD) { in VisitObjCMethodDecl() 389 if (isa<ObjCMethodDecl>(*I)) in storeTopLevelDecls() 416 if (isa<ObjCMethodDecl>(D)) in shouldSkipFunction() 436 if (Visited.count(D) && isa<ObjCMethodDecl>(D)) { in getInliningModeForFunction() 437 const ObjCMethodDecl *ObjCM = cast<ObjCMethodDecl>(D); in getInliningModeForFunction() 490 Visited.insert(isa<ObjCMethodDecl>(Callee) ? Callee in HandleDeclsCallGraph()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallEvent.cpp | 432 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) in getDeclaredResultType() 462 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) in isVariadic() 979 const ObjCMethodDecl *D = getDecl(); in parameters() 1129 const ObjCMethodDecl *MD = getDecl(); in getAccessedProperty() 1160 ObjCMethodDecl *D = nullptr; in canBeOverridenInSubclass() 1191 static const ObjCMethodDecl *findDefiningRedecl(const ObjCMethodDecl *MD) { in findDefiningRedecl() 1199 MD = cast<ObjCMethodDecl>(I); in findDefiningRedecl() 1240 static const ObjCMethodDecl * 1261 Optional<const ObjCMethodDecl *> &Val = in lookupRuntimeDefinition() 1356 const ObjCMethodDecl *MD = in getRuntimeDefinition() [all …]
|
| /freebsd-13.1/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 | 63 else if (ObjCMethodDecl *method_decl = dyn_cast<ObjCMethodDecl>(D)) in TransformTopLevelDecl() 83 if (ObjCMethodDecl *method_decl = dyn_cast<ObjCMethodDecl>(D)) { in TransformTopLevelDecl() 156 ObjCMethodDecl *MethodDecl) { in SynthesizeObjCMethodResult()
|