Home
last modified time | relevance | path

Searched refs:ObjCMethodDecl (Results 1 – 25 of 147) sorted by relevance

123456

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclObjC.cpp91 ObjCMethodDecl *
779 ObjCMethodDecl::ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc, in ObjCMethodDecl() function in ObjCMethodDecl
810 ObjCMethodDecl *ObjCMethodDecl::Create( in Create()
822 ObjCMethodDecl *ObjCMethodDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
856 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration()
906 ObjCMethodDecl *ObjCMethodDecl::getNextRedeclarationImpl() { in getNextRedeclarationImpl()
954 ObjCMethodDecl *ObjCMethodDecl::getCanonicalDecl() { in getCanonicalDecl()
971 ObjCMethodDecl *MD = in getCanonicalDecl()
1191 if (ObjCMethodDecl * in CollectOverriddenMethodsRecurse()
1208 if (const ObjCMethodDecl * in CollectOverriddenMethodsRecurse()
[all …]
H A DMangle.cpp143 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName()
160 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName()
229 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(DC)) { in mangleBlock()
259 void MangleContext::mangleObjCMethodNameWithoutSize(const ObjCMethodDecl *MD, in mangleObjCMethodNameWithoutSize()
276 void MangleContext::mangleObjCMethodName(const ObjCMethodDecl *MD, in mangleObjCMethodName()
H A DExprObjC.cpp28 ObjCMethodDecl *Method, SourceRange SR) in ObjCArrayLiteral()
47 QualType T, ObjCMethodDecl *Method, in Create()
61 ObjCMethodDecl *method, in ObjCDictionaryLiteral()
98 ObjCMethodDecl *method, SourceRange SR) { in Create()
129 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in ObjCMessageExpr()
150 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in ObjCMessageExpr()
167 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in ObjCMessageExpr()
211 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in Create()
230 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in Create()
249 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in Create()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DExprObjC.h119 ObjCMethodDecl *BoxingMethod;
138 ObjCMethodDecl *getBoxingMethod() const { in getBoxingMethod()
176 ObjCMethodDecl *ArrayWithObjectsMethod;
306 ObjCMethodDecl *DictWithObjectsMethod;
633 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter,
644 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter,
654 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter,
776 void setImplicitProperty(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter,
813 ObjCMethodDecl *GetAtIndexMethodDecl;
817 ObjCMethodDecl *SetAtIndexMethodDecl;
[all …]
H A DDeclObjC.h225 ObjCMethodDecl *getNextRedeclarationImpl() override;
231 static ObjCMethodDecl *
242 ObjCMethodDecl *getCanonicalDecl() override;
243 const ObjCMethodDecl *getCanonicalDecl() const { in getCanonicalDecl()
791 ObjCMethodDecl *GetterMethodDecl = nullptr;
794 ObjCMethodDecl *SetterMethodDecl = nullptr;
1050 filtered_decl_iterator<ObjCMethodDecl,
1067 filtered_decl_iterator<ObjCMethodDecl,
1087 ObjCMethodDecl *getInstanceMethod(Selector Sel,
2444 void addInstanceMethod(ObjCMethodDecl *method) { in addInstanceMethod()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DObjCMethodList.h22 class ObjCMethodDecl; variable
29 llvm::PointerIntPair<ObjCMethodDecl *, 1> MethodAndHasMoreThanOneDecl;
34 ObjCMethodList(ObjCMethodDecl *M) in ObjCMethodList()
45 ObjCMethodDecl *getMethod() const { in getMethod()
48 void setMethod(ObjCMethodDecl *M) { in setMethod()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp58 typedef llvm::DenseMap<const ObjCMethodDecl*,
73 void addInvalidationMethod(const ObjCMethodDecl *MD) { in addInvalidationMethod()
81 bool hasMethod(const ObjCMethodDecl *MD) { in hasMethod()
117 const ObjCMethodDecl *InvalidationMethod;
252 cast<ObjCMethodDecl>(MDI->getCanonicalDecl())); in containsInvalidationMethod()
403 const ObjCMethodDecl *SetterD = PD->getSetterMethodDecl(); in visit()
409 const ObjCMethodDecl *GetterD = PD->getGetterMethodDecl(); in visit()
430 const ObjCMethodDecl *InterfD = *I; in visit()
482 const ObjCMethodDecl *InterfD = *I; in visit()
607 const ObjCMethodDecl *MD = ME->getMethodDecl(); in checkObjCMessageExpr()
[all …]
H A DDirectIvarAssignment.cpp43 static bool DefaultMethodFilter(const ObjCMethodDecl *M) { in DefaultMethodFilter()
62 const ObjCMethodDecl *MD;
69 MethodCrawler(const IvarToPropertyMapTy &InMap, const ObjCMethodDecl *InMD, in MethodCrawler()
87 bool (*ShouldSkipMethod)(const ObjCMethodDecl *);
188 ObjCMethodDecl *GetterMethod = in VisitBinaryOperator()
190 ObjCMethodDecl *SetterMethod = in VisitBinaryOperator()
217 static bool AttrFilter(const ObjCMethodDecl *M) { in AttrFilter()
H A DCheckObjCInstMethSignature.cpp40 static void CompareReturnTypes(const ObjCMethodDecl *MethDerived, in CompareReturnTypes()
41 const ObjCMethodDecl *MethAncestor, in CompareReturnTypes()
92 typedef llvm::DenseMap<Selector,ObjCMethodDecl*> MapTy; in CheckObjCInstMethSignature()
113 ObjCMethodDecl *MethDerived = MI->second; in CheckObjCInstMethSignature()
H A DDynamicTypePropagation.cpp207 const ObjCMethodDecl *D = Msg->getDecl(); in checkPostCall()
339 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(SFCtx->getDecl())) in getObjectTypeForAllocAndNew()
656 static const ObjCMethodDecl *
659 const ObjCMethodDecl *Method = nullptr; in findMethodDecl()
692 const ObjCMethodDecl *Method, ArrayRef<QualType> TypeArgs, in getReturnTypeForMethod()
729 const ObjCMethodDecl *Method = in checkPreObjCMessage()
865 const ObjCMethodDecl *Method = in checkPostObjCMessage()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclObjC.cpp292 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()
364 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in ActOnStartOfObjCMethodDef()
437 ObjCMethodDecl *IMD = in ActOnStartOfObjCMethodDef()
3652 const ObjCMethodDecl *
3899 ObjCMethodDecl *Method = in ActOnAtEnd()
4156 ObjCMethodDecl *Method;
4559 ObjCMethodDecl *ObjCMethod = ObjCMethodDecl::Create( in ActOnMethodDeclaration()
[all …]
H A DSemaExprObjC.cpp537 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr()
649 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr()
1251 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(DC); in tryCaptureObjCSelf()
1372 const ObjCMethodDecl *MD = cast<ObjCMethodDecl>( in getMessageSendResultType()
1445 static const ObjCMethodDecl *
1482 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurContext); in EmitRelatedResultTypeNoteForReturn()
1742 ObjCMethodDecl *Method = in isSelfExpr()
1786 ObjCMethodDecl *MD = nullptr; in LookupMethodInQualifiedType()
2323 ObjCMethodDecl *ImpliedMethod; in checkFoundationAPI()
3143 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(CurContext); in BuildInstanceMessage()
[all …]
H A DSemaObjCProperty.cpp1943 llvm::SmallPtrSet<const ObjCMethodDecl *, 8> &SMap) { in DiagnoseUnimplementedAccessor() argument
1947 [&](const ObjCMethodDecl *x) { in DiagnoseUnimplementedAccessor()
2047 llvm::SmallPtrSet<const ObjCMethodDecl *, 8> InsMap; in DiagnoseUnimplementedProperties()
2128 ObjCMethodDecl *GetterMethod = nullptr; in AtomicPropertySetterGetterRules()
2129 ObjCMethodDecl *SetterMethod = nullptr; in AtomicPropertySetterGetterRules()
2280 for (SmallVector<const ObjCMethodDecl *, 8>::iterator in DiagnoseMissingDesignatedInitOverrides()
2282 const ObjCMethodDecl *MD = *I; in DiagnoseMissingDesignatedInitOverrides()
2316 ObjCMethodDecl *GetterMethod, *SetterMethod; in ProcessPropertyDecl()
2400 ObjCMethodDecl::Optional : in ProcessPropertyDecl()
2401 ObjCMethodDecl::Required); in ProcessPropertyDecl()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGObjCRuntime.h49 class ObjCMethodDecl; variable
137 const ObjCMethodDecl *Method) = 0;
172 const ObjCMethodDecl *Method = nullptr) = 0;
190 const ObjCMethodDecl *Method = nullptr) = 0;
207 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
299 MessageSendInfo getMessageSendInfo(const ObjCMethodDecl *method,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexBody.cpp133 else if (auto *MD = dyn_cast<ObjCMethodDecl>(ParentDC)) in addCallRole()
229 if (ObjCMethodDecl *MD = E->getMethodDecl()) { in VisitObjCMessageExpr()
244 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 DIndexDecl.cpp48 static bool hasUserDefined(const ObjCMethodDecl *D, in hasUserDefined()
50 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined()
99 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(DC)) { in handleDeclarator()
126 bool handleObjCMethod(const ObjCMethodDecl *D, in handleObjCMethod()
129 SmallVector<const ObjCMethodDecl*, 4> Overriden; in handleObjCMethod()
488 bool VisitObjCMethodDecl(const ObjCMethodDecl *D) { in VisitObjCMethodDecl()
499 if (ObjCMethodDecl *MD = D->getGetterMethodDecl()) in VisitObjCPropertyDecl()
502 if (ObjCMethodDecl *MD = D->getSetterMethodDecl()) in VisitObjCPropertyDecl()
534 if (ObjCMethodDecl *MD = PD->getGetterMethodDecl()) { in VisitObjCPropertyImplDecl()
539 if (ObjCMethodDecl *MD = PD->getSetterMethodDecl()) { in VisitObjCPropertyImplDecl()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DObjCMT.cpp59 ObjCMethodDecl *OM);
64 ObjCMethodDecl *OM,
172 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()
650 if (ObjCMethodDecl *ImpMD = dyn_cast<ObjCMethodDecl>(R[0])) in ClassImplementsAllMethodsAndProperties()
957 ObjCMethodDecl *OM) { in ReplaceWithInstancetype()
979 ObjCMethodDecl *OM) { in ReplaceWithClasstype()
1156 ObjCMethodDecl *Method) { in migrateProperty()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/
H A DCodeInjector.h24 class ObjCMethodDecl; variable
42 virtual Stmt *getBody(const ObjCMethodDecl *D) = 0;
H A DBodyFarm.h27 class ObjCMethodDecl; variable
40 Stmt *getBody(const ObjCMethodDecl *D);
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp361 bool VisitObjCMethodDecl(ObjCMethodDecl *MD) { in VisitObjCMethodDecl()
420 if (isa<ObjCMethodDecl>(*I)) in storeTopLevelDecls()
440 if (isa<ObjCMethodDecl>(D)) in shouldSkipFunction()
460 if (Visited.count(D) && isa<ObjCMethodDecl>(D)) { in getInliningModeForFunction()
461 const ObjCMethodDecl *ObjCM = cast<ObjCMethodDecl>(D); in getInliningModeForFunction()
514 Visited.insert(isa<ObjCMethodDecl>(Callee) ? Callee in HandleDeclsCallGraph()
632 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { in getFunctionName()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp242 else if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) in getParameterLocation()
452 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) in getDeclaredResultType()
482 if (const auto *MD = dyn_cast<ObjCMethodDecl>(D)) in isVariadic()
921 const ObjCMethodDecl *D = getDecl(); in parameters()
1078 const ObjCMethodDecl *MD = getDecl(); in getAccessedProperty()
1109 ObjCMethodDecl *D = nullptr; in canBeOverridenInSubclass()
1140 static const ObjCMethodDecl *findDefiningRedecl(const ObjCMethodDecl *MD) { in findDefiningRedecl()
1148 MD = cast<ObjCMethodDecl>(I); in findDefiningRedecl()
1267 if (const ObjCMethodDecl *CompileTimeMD = E->getMethodDecl()) in getRuntimeDefinition()
1294 const ObjCMethodDecl *MD = Val.getValue(); in getRuntimeDefinition()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp318 clang::ObjCMethodDecl *
332 const clang::ObjCMethodDecl::ImplementationControl impControl = in BuildMethod()
333 clang::ObjCMethodDecl::None; in BuildMethod()
373 clang::ObjCMethodDecl *ret = clang::ObjCMethodDecl::Create( in BuildMethod()
461 clang::ObjCMethodDecl *method_decl = in FinishDecl()
480 clang::ObjCMethodDecl *method_decl = method_type.BuildMethod( in FinishDecl()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp63 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()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h46 class ObjCMethodDecl; variable
54 const ObjCMethodDecl *MD,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderInternals.h35 class ObjCMethodDecl; variable
203 SmallVector<ObjCMethodDecl *, 2> Instance;
204 SmallVector<ObjCMethodDecl *, 2> Factory;

123456