/openbsd/gnu/llvm/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() 206 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName() 295 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(DC)) { in mangleBlock() 325 void MangleContext::mangleObjCMethodName(const ObjCMethodDecl *MD, in mangleObjCMethodName() 382 void MangleContext::mangleObjCMethodNameAsSourceName(const ObjCMethodDecl *MD, in mangleObjCMethodNameAsSourceName() 413 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in writeName()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/clang/include/clang/AST/ |
H A D | ExprObjC.h | 129 ObjCMethodDecl *BoxingMethod; 146 ObjCMethodDecl *getBoxingMethod() const { in getBoxingMethod() 194 ObjCMethodDecl *ArrayWithObjectsMethod; 323 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 | 231 static ObjCMethodDecl * 243 ObjCMethodDecl *getCanonicalDecl() override; 244 const ObjCMethodDecl *getCanonicalDecl() const { in getCanonicalDecl() 764 ObjCMethodDecl *GetterMethodDecl = nullptr; 767 ObjCMethodDecl *SetterMethodDecl = nullptr; 1022 filtered_decl_iterator<ObjCMethodDecl, 1039 filtered_decl_iterator<ObjCMethodDecl, 1059 ObjCMethodDecl *getInstanceMethod(Selector Sel, 2482 void addClassMethod(ObjCMethodDecl *method) { in addClassMethod() 2814 ObjCMethodDecl *GetterMethodDecl = nullptr; [all …]
|
/openbsd/gnu/llvm/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 …]
|
/openbsd/gnu/llvm/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() 401 const ObjCMethodDecl *SetterD = PD->getSetterMethodDecl(); in visit() 407 const ObjCMethodDecl *GetterD = PD->getGetterMethodDecl(); in visit() 428 const ObjCMethodDecl *InterfD = *I; in visit() 480 const ObjCMethodDecl *InterfD = *I; in visit() 605 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()
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 564 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr() 677 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr() 1419 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(DC); in tryCaptureObjCSelf() 1540 const ObjCMethodDecl *MD = cast<ObjCMethodDecl>( in getMessageSendResultType() 1621 static const ObjCMethodDecl * 1658 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurContext); in EmitRelatedResultTypeNoteForReturn() 1918 ObjCMethodDecl *Method = in isSelfExpr() 1962 ObjCMethodDecl *MD = nullptr; in LookupMethodInQualifiedType() 2503 ObjCMethodDecl *ImpliedMethod; in checkFoundationAPI() 3363 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() 3705 const ObjCMethodDecl * 4016 ObjCMethodDecl *Method = in ActOnAtEnd() 4281 const ObjCMethodDecl *Method; 4757 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() 2178 ObjCMethodDecl *GetterMethod = nullptr; in AtomicPropertySetterGetterRules() 2179 ObjCMethodDecl *SetterMethod = nullptr; in AtomicPropertySetterGetterRules() 2333 const ObjCMethodDecl *MD = *I; in DiagnoseMissingDesignatedInitOverrides() 2376 ObjCMethodDecl *GetterMethod, *SetterMethod; in ProcessPropertyDecl() 2486 GetterMethod = ObjCMethodDecl::Create( in ProcessPropertyDecl() 2492 ? ObjCMethodDecl::Optional in ProcessPropertyDecl() 2493 : ObjCMethodDecl::Required); 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() 139 if (const auto *MD = dyn_cast<ObjCMethodDecl>(OffendingDecl)) { in ShouldDiagnoseAvailabilityInContext() 158 if (const auto *MethodD = dyn_cast<ObjCMethodDecl>(Ctx)) in ShouldDiagnoseAvailabilityInContext() 210 if (isa<TagDecl>(Ctx) || isa<FunctionDecl>(Ctx) || isa<ObjCMethodDecl>(Ctx)) in findEnclosingDeclToAnnotate() 288 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in createAttributeInsertion() 503 if (const auto *MethodDecl = dyn_cast<ObjCMethodDecl>(ReferringDecl)) { in DoEmitAvailabilityWarning() 692 if (ObjCMethodDecl *D = Msg->getMethodDecl()) { in VisitObjCMessageExpr() 907 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(D)) in DiagnoseUnguardedAvailabilityViolations() 957 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in DiagnoseAvailabilityOfDecl()
|
/openbsd/gnu/llvm/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);
|
/openbsd/gnu/llvm/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() 650 if (ObjCMethodDecl *ImpMD = dyn_cast<ObjCMethodDecl>(ND)) in ClassImplementsAllMethodsAndProperties() 957 ObjCMethodDecl *OM) { in ReplaceWithInstancetype() 979 ObjCMethodDecl *OM) { in ReplaceWithClasstype() 1156 ObjCMethodDecl *Method) { in migrateProperty() [all …]
|
/openbsd/gnu/llvm/clang/lib/Index/ |
H A D | IndexBody.cpp | 136 else if (auto *MD = dyn_cast<ObjCMethodDecl>(ParentDC)) in addCallRole() 232 if (ObjCMethodDecl *MD = E->getMethodDecl()) { in VisitObjCMessageExpr() 247 if (const ObjCMethodDecl *Getter = PRE->getImplicitPropertyGetter()) { in VisitObjCMessageExpr() 298 } else if (const ObjCMethodDecl *Getter = E->getImplicitPropertyGetter()) { in VisitObjCPropertyRefExpr() 327 bool passObjCLiteralMethodCall(const ObjCMethodDecl *MD, const Expr *E) { in passObjCLiteralMethodCall() 337 if (ObjCMethodDecl *MD = E->getBoxingMethod()) { in VisitObjCBoxedExpr() 344 if (ObjCMethodDecl *MD = E->getDictWithObjectsMethod()) { in VisitObjCDictionaryLiteral() 351 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 …]
|
/openbsd/gnu/llvm/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
H A D | AppleObjCDeclVendor.cpp | 298 clang::ObjCMethodDecl * 314 const clang::ObjCMethodDecl::ImplementationControl impControl = in BuildMethod() 315 clang::ObjCMethodDecl::None; in BuildMethod() 354 clang::ObjCMethodDecl *ret = clang::ObjCMethodDecl::Create( in BuildMethod() 443 clang::ObjCMethodDecl *method_decl = method_type.BuildMethod( in FinishDecl() 461 clang::ObjCMethodDecl *method_decl = method_type.BuildMethod( in FinishDecl()
|
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 352 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) in getDeclaredResultType() 382 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) in isVariadic() 945 const ObjCMethodDecl *D = getDecl(); in parameters() 1095 const ObjCMethodDecl *MD = getDecl(); in getAccessedProperty() 1126 ObjCMethodDecl *D = nullptr; in canBeOverridenInSubclass() 1157 static const ObjCMethodDecl *findDefiningRedecl(const ObjCMethodDecl *MD) { in findDefiningRedecl() 1165 MD = cast<ObjCMethodDecl>(I); in findDefiningRedecl() 1206 static const ObjCMethodDecl * 1227 std::optional<const ObjCMethodDecl *> &Val = in lookupRuntimeDefinition() 1322 const ObjCMethodDecl *MD = in getRuntimeDefinition() [all …]
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/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()
|