/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | DeclObjC.cpp | 91 ObjCMethodDecl * 112 auto *MD = dyn_cast<ObjCMethodDecl>(*Meth); in getMethod() 130 auto *MD = dyn_cast<ObjCMethodDecl>(*Meth); in HasUserDeclaredSetterMethod() 139 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel)) in HasUserDeclaredSetterMethod() 541 llvm::SmallVectorImpl<const ObjCMethodDecl *> &Methods) const { in getDesignatedInitializers() 563 const ObjCMethodDecl **InitMethod) const { in isDesignatedInitializer() 583 if (const ObjCMethodDecl *MD = IFace->getInstanceMethod(Sel)) { in isDesignatedInitializer() 591 if (const ObjCMethodDecl *MD = Ext->getInstanceMethod(Sel)) { in isDesignatedInitializer() 684 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod() 695 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod() [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() 147 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() [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()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | ExprObjC.h | 130 ObjCMethodDecl *BoxingMethod; 136 ObjCBoxedExpr(Expr *E, QualType T, ObjCMethodDecl *method, SourceRange R) in ObjCBoxedExpr() 147 ObjCMethodDecl *getBoxingMethod() const { in getBoxingMethod() 195 ObjCMethodDecl *ArrayWithObjectsMethod; 198 QualType T, ObjCMethodDecl * Method, 210 QualType T, ObjCMethodDecl * Method, 241 ObjCMethodDecl *getArrayWithObjectsMethod() const { in getArrayWithObjectsMethod() 324 ObjCMethodDecl *DictWithObjectsMethod; 331 QualType T, ObjCMethodDecl *method, 351 QualType T, ObjCMethodDecl *method, [all …]
|
H A D | DeclObjC.h | 139 class ObjCMethodDecl : public NamedDecl, public DeclContext { 172 ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc, 226 ObjCMethodDecl *getNextRedeclarationImpl() override; 232 static ObjCMethodDecl * 242 static ObjCMethodDecl *CreateDeserialized(ASTContext &C, unsigned ID); 244 ObjCMethodDecl *getCanonicalDecl() override; 245 const ObjCMethodDecl *getCanonicalDecl() const { in getCanonicalDecl() 246 return const_cast<ObjCMethodDecl*>(this)->getCanonicalDecl(); in getCanonicalDecl() 271 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod); 320 return const_cast<ObjCMethodDecl*>(this)->getClassInterface(); in getClassInterface() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | IvarInvalidationChecker.cpp | 56 typedef llvm::SmallSetVector<const ObjCMethodDecl*, 2> MethodSet; 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; 210 const ObjCMethodDecl *MethodD) const; 226 static bool isInvalidationMethod(const ObjCMethodDecl *M, bool LookForPartial) { in isInvalidationMethod() 251 cast<ObjCMethodDecl>(MDI->getCanonicalDecl())); in containsInvalidationMethod() 402 const ObjCMethodDecl *SetterD = PD->getSetterMethodDecl(); in visit() 408 const ObjCMethodDecl *GetterD = PD->getGetterMethodDecl(); in visit() [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()
|
H A D | ObjCSelfInitChecker.cpp | 52 static bool isInitializationMethod(const ObjCMethodDecl *MD); 389 const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(ND); in shouldRunOnFunctionOrMethod() 424 static bool isInitializationMethod(const ObjCMethodDecl *MD) { in isInitializationMethod()
|
H A D | DynamicTypePropagation.cpp | 205 if (const ObjCMethodDecl *MD = in inferReceiverType() 206 dyn_cast<ObjCMethodDecl>(C.getStackFrame()->getDecl())) in inferReceiverType() 317 const ObjCMethodDecl *D = Msg->getDecl(); in checkPostCall() 741 static const ObjCMethodDecl * 744 const ObjCMethodDecl *Method = nullptr; in findMethodDecl() 777 const ObjCMethodDecl *Method, ArrayRef<QualType> TypeArgs, in getReturnTypeForMethod() 814 const ObjCMethodDecl *Method = in checkPreObjCMessage() 980 const ObjCMethodDecl *Method = in checkPostObjCMessage()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 149 Selector Sel, const ObjCMethodDecl *Method) { in validateBoxingMethod() 242 static ObjCMethodDecl *getNSNumberFactoryMethod(Sema &S, SourceLocation Loc, in getNSNumberFactoryMethod() 283 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel); in getNSNumberFactoryMethod() 288 ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel, in getNSNumberFactoryMethod() 294 /*isDefined=*/false, ObjCMethodDecl::Required, in getNSNumberFactoryMethod() 345 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType, in BuildObjCNumericLiteral() 506 ObjCMethodDecl *BoxingMethod = nullptr; in BuildObjCBoxedExpr() 563 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr() 570 /*isDefined=*/false, ObjCMethodDecl::Required, in BuildObjCBoxedExpr() 676 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr() [all …]
|
H A D | SemaDeclObjC.cpp | 42 bool Sema::checkInitMethod(ObjCMethodDecl *method, in checkInitMethod() 133 << cast<ObjCMethodDecl>(NewD->getDeclContext()); in diagnoseNoescape() 136 void Sema::CheckObjCMethodOverride(ObjCMethodDecl *NewMethod, in CheckObjCMethodOverride() 137 const ObjCMethodDecl *Overridden) { in CheckObjCMethodOverride() 203 ObjCMethodDecl::param_const_iterator oi = Overridden->param_begin(), in CheckObjCMethodOverride() 205 for (ObjCMethodDecl::param_iterator ni = NewMethod->param_begin(), in CheckObjCMethodOverride() 225 bool Sema::CheckARCMethodDecl(ObjCMethodDecl *method) { in CheckARCMethodDecl() 292 if (isa<ObjCMethodDecl>(ND)) { in DiagnoseObjCImplementedDeprecations() 315 << (isa<ObjCMethodDecl>(ND) in DiagnoseObjCImplementedDeprecations() 319 if (isa<ObjCMethodDecl>(ND)) in DiagnoseObjCImplementedDeprecations() [all …]
|
H A D | SemaObjCProperty.cpp | 1047 static ObjCMethodDecl * 1049 ObjCMethodDecl *AccessorDecl, SourceLocation AtLoc, in RedeclarePropertyAccessor() 1051 ObjCMethodDecl *Decl = AccessorDecl; in RedeclarePropertyAccessor() 1052 ObjCMethodDecl *ImplDecl = ObjCMethodDecl::Create( in RedeclarePropertyAccessor() 1434 if (ObjCMethodDecl *getterMethod = property->getGetterMethodDecl()) { in ActOnPropertyImplDecl() 1440 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl() 1500 if (ObjCMethodDecl *setterMethod = property->getSetterMethodDecl()) { in ActOnPropertyImplDecl() 1505 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl() 1531 ObjCMethodDecl::param_iterator P = setterMethod->param_begin(); in ActOnPropertyImplDecl() 1711 ObjCMethodDecl *GetterMethod, in DiagnosePropertyAccessorMismatch() [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() 702 if (ObjCMethodDecl *D = Msg->getMethodDecl()) { in VisitObjCMessageExpr() 912 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(D)) in DiagnoseUnguardedAvailabilityViolations() 954 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in DiagnoseAvailabilityOfDecl()
|
/netbsd-src/external/apache2/llvm/dist/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,
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 318 bool VisitObjCMethodDecl(ObjCMethodDecl *MD) { in VisitObjCMethodDecl() 377 if (isa<ObjCMethodDecl>(*I)) in storeTopLevelDecls() 404 if (isa<ObjCMethodDecl>(D)) in shouldSkipFunction() 424 if (Visited.count(D) && isa<ObjCMethodDecl>(D)) { in getInliningModeForFunction() 425 const ObjCMethodDecl *ObjCM = cast<ObjCMethodDecl>(D); in getInliningModeForFunction() 478 Visited.insert(isa<ObjCMethodDecl>(Callee) ? Callee in HandleDeclsCallGraph() 597 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { in getFunctionName()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 58 ObjCMethodDecl *OM); 59 bool migrateProperty(ASTContext &Ctx, ObjCContainerDecl *D, ObjCMethodDecl *OM); 60 void migrateNsReturnsInnerPointer(ASTContext &Ctx, ObjCMethodDecl *OM); 63 ObjCMethodDecl *OM, 72 const ObjCMethodDecl *MethodDecl, bool ResultAnnotated); 82 const ObjCMethodDecl *MethodDecl); 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() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/ |
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 | CodeInjector.h | 23 class ObjCMethodDecl; variable 41 virtual Stmt *getBody(const ObjCMethodDecl *D) = 0;
|
H A D | BodyFarm.h | 26 class ObjCMethodDecl; variable 39 Stmt *getBody(const ObjCMethodDecl *D);
|
/netbsd-src/external/apache2/llvm/dist/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() 297 } else if (const ObjCMethodDecl *Getter = E->getImplicitPropertyGetter()) { in VisitObjCPropertyRefExpr() 326 bool passObjCLiteralMethodCall(const ObjCMethodDecl *MD, const Expr *E) { in passObjCLiteralMethodCall() 336 if (ObjCMethodDecl *MD = E->getBoxingMethod()) { in VisitObjCBoxedExpr() 343 if (ObjCMethodDecl *MD = E->getDictWithObjectsMethod()) { in VisitObjCDictionaryLiteral() 350 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 …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 431 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) in getDeclaredResultType() 461 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) in isVariadic() 940 const ObjCMethodDecl *D = getDecl(); in parameters() 1090 const ObjCMethodDecl *MD = getDecl(); in getAccessedProperty() 1121 ObjCMethodDecl *D = nullptr; in canBeOverridenInSubclass() 1152 static const ObjCMethodDecl *findDefiningRedecl(const ObjCMethodDecl *MD) { in findDefiningRedecl() 1160 MD = cast<ObjCMethodDecl>(I); in findDefiningRedecl() 1201 static const ObjCMethodDecl * 1219 llvm::DenseMap<PrivateMethodKey, Optional<const ObjCMethodDecl *>>; in lookupRuntimeDefinition() 1222 Optional<const ObjCMethodDecl *> &Val = in lookupRuntimeDefinition() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ |
H A D | ASTReaderInternals.h | 34 class ObjCMethodDecl; variable 202 SmallVector<ObjCMethodDecl *, 2> Instance; 203 SmallVector<ObjCMethodDecl *, 2> Factory;
|