/external/clang/test/SemaObjC/ |
D | property-atomic-bool.m | 8 // CHECK: ObjCMethodDecl {{.*}} implicit - p '_Bool' 9 // CHECK: ObjCMethodDecl {{.*}} implicit - setP: 'void' 13 // CHECK: ObjCMethodDecl {{.*}} implicit - p '_Bool' 14 // CHECK: ObjCMethodDecl {{.*}} implicit - setP: 'void' 19 // CHECK: ObjCMethodDecl {{.*}} implicit - p '_Bool' 20 // CHECK: ObjCMethodDecl {{.*}} implicit - setP: 'void' 25 // CHECK: ObjCMethodDecl {{.*}} implicit - p '_Bool' 26 // CHECK: ObjCMethodDecl {{.*}} implicit - setP: 'void'
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 67 ObjCMethodDecl * 89 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(*Meth); in getMethod() 107 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(*Meth); in HasUserDeclaredSetterMethod() 116 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel)) in HasUserDeclaredSetterMethod() 519 llvm::SmallVectorImpl<const ObjCMethodDecl *> &Methods) const { in getDesignatedInitializers() 541 const ObjCMethodDecl **InitMethod) const { in isDesignatedInitializer() 552 if (const ObjCMethodDecl *MD = IFace->getInstanceMethod(Sel)) { in isDesignatedInitializer() 560 if (const ObjCMethodDecl *MD = Ext->getInstanceMethod(Sel)) { in isDesignatedInitializer() 653 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod() 664 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod() [all …]
|
D | Mangle.cpp | 143 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName() 158 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName() 227 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(DC)) { in mangleBlock() 257 void MangleContext::mangleObjCMethodNameWithoutSize(const ObjCMethodDecl *MD, in mangleObjCMethodNameWithoutSize() 270 void MangleContext::mangleObjCMethodName(const ObjCMethodDecl *MD, in mangleObjCMethodName()
|
D | ExprObjC.cpp | 21 ObjCMethodDecl *Method, SourceRange SR) in ObjCArrayLiteral() 40 QualType T, ObjCMethodDecl *Method, in Create() 55 ObjCMethodDecl *method, in ObjCDictionaryLiteral() 92 ObjCMethodDecl *method, SourceRange SR) { in Create() 123 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in ObjCMessageExpr() 144 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in ObjCMessageExpr() 161 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in ObjCMessageExpr() 205 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in Create() 224 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in Create() 243 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in Create() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
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() 117 const ObjCMethodDecl *InvalidationMethod; 211 const ObjCMethodDecl *MethodD) const; 227 static bool isInvalidationMethod(const ObjCMethodDecl *M, bool LookForPartial) { in isInvalidationMethod() 252 cast<ObjCMethodDecl>(MDI->getCanonicalDecl())); in containsInvalidationMethod() 403 const ObjCMethodDecl *SetterD = PD->getSetterMethodDecl(); in visit() 405 SetterD = cast<ObjCMethodDecl>(SetterD->getCanonicalDecl()); in visit() [all …]
|
D | DirectIvarAssignment.cpp | 43 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()
|
D | CheckObjCInstMethSignature.cpp | 40 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()
|
/external/clang/test/Misc/ |
D | ast-dump-decl.m | 31 // CHECK: ObjCMethodDecl{{.*}} - TestObjCMethodDecl: 'int' 40 // CHECK: ObjCMethodDecl{{.*}} - TestObjCMethodDecl: 'int' 52 // CHECK-NEXT: ObjCMethodDecl{{.*}} foo 61 // CHECK-NEXT: ObjCMethodDecl{{.*}} foo 73 // CHECK-NEXT: ObjCMethodDecl{{.*}} foo 82 // CHECK-NEXT: ObjCMethodDecl{{.*}} bar 91 // CHECK-NEXT: ObjCMethodDecl{{.*}} bar 106 // CHECK-NEXT: ObjCMethodDecl{{.*}} getterFoo 107 // CHECK-NEXT: ObjCMethodDecl{{.*}} setterFoo: 109 // CHECK-NEXT: ObjCMethodDecl{{.*}} bar [all …]
|
/external/clang/include/clang/Sema/ |
D | ObjCMethodList.h | 22 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()
|
/external/clang/include/clang/AST/ |
D | ExprObjC.h | 96 ObjCMethodDecl *BoxingMethod; 99 ObjCBoxedExpr(Expr *E, QualType T, ObjCMethodDecl *method, in ObjCBoxedExpr() 111 ObjCMethodDecl *getBoxingMethod() const { in getBoxingMethod() 149 ObjCMethodDecl *ArrayWithObjectsMethod; 152 QualType T, ObjCMethodDecl * Method, 161 QualType T, ObjCMethodDecl * Method, 196 ObjCMethodDecl *getArrayWithObjectsMethod() const { in getArrayWithObjectsMethod() 275 ObjCMethodDecl *DictWithObjectsMethod; 286 QualType T, ObjCMethodDecl *method, 298 QualType T, ObjCMethodDecl *method, [all …]
|
D | DeclObjC.h | 28 class ObjCMethodDecl; variable 113 class ObjCMethodDecl : public NamedDecl, public DeclContext { 226 ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc, 250 ObjCMethodDecl *getNextRedeclarationImpl() override; 253 static ObjCMethodDecl * 262 static ObjCMethodDecl *CreateDeserialized(ASTContext &C, unsigned ID); 264 ObjCMethodDecl *getCanonicalDecl() override; 265 const ObjCMethodDecl *getCanonicalDecl() const { in getCanonicalDecl() 266 return const_cast<ObjCMethodDecl*>(this)->getCanonicalDecl(); in getCanonicalDecl() 283 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod); [all …]
|
/external/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 42 bool Sema::checkInitMethod(ObjCMethodDecl *method, in checkInitMethod() 112 void Sema::CheckObjCMethodOverride(ObjCMethodDecl *NewMethod, in CheckObjCMethodOverride() 113 const ObjCMethodDecl *Overridden) { in CheckObjCMethodOverride() 174 ObjCMethodDecl::param_const_iterator oi = Overridden->param_begin(), in CheckObjCMethodOverride() 176 for (ObjCMethodDecl::param_iterator in CheckObjCMethodOverride() 194 bool Sema::CheckARCMethodDecl(ObjCMethodDecl *method) { in CheckARCMethodDecl() 268 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in AddAnyMethodToGlobalPool() 302 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in ActOnStartOfObjCMethodDef() 366 ObjCMethodDecl *IMD = in ActOnStartOfObjCMethodDef() 419 const ObjCMethodDecl *SuperMethod = in ActOnStartOfObjCMethodDef() [all …]
|
D | SemaExprObjC.cpp | 148 Selector Sel, const ObjCMethodDecl *Method) { in validateBoxingMethod() 241 static ObjCMethodDecl *getNSNumberFactoryMethod(Sema &S, SourceLocation Loc, in getNSNumberFactoryMethod() 282 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel); in getNSNumberFactoryMethod() 287 ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel, in getNSNumberFactoryMethod() 292 /*isDefined=*/false, ObjCMethodDecl::Required, in getNSNumberFactoryMethod() 343 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType, in BuildObjCNumericLiteral() 505 ObjCMethodDecl *BoxingMethod = nullptr; in BuildObjCBoxedExpr() 538 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr() 544 /*isDefined=*/false, ObjCMethodDecl::Required, in BuildObjCBoxedExpr() 644 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr() [all …]
|
D | SemaObjCProperty.cpp | 1245 if (ObjCMethodDecl *getterMethod = property->getGetterMethodDecl()) { in ActOnPropertyImplDecl() 1299 if (ObjCMethodDecl *setterMethod = property->getSetterMethodDecl()) { in ActOnPropertyImplDecl() 1320 ObjCMethodDecl::param_iterator P = setterMethod->param_begin(); in ActOnPropertyImplDecl() 1491 ObjCMethodDecl *GetterMethod, in DiagnosePropertyAccessorMismatch() 1619 ObjCMethodDecl *Method, ObjCIvarDecl *IV) { in IvarBacksCurrentMethodAccessor() 1622 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(), in IvarBacksCurrentMethodAccessor() 1772 llvm::SmallPtrSet<const ObjCMethodDecl *, 8> &SMap) { in DiagnoseUnimplementedAccessor() argument 1776 [&](const ObjCMethodDecl *x) { in DiagnoseUnimplementedAccessor() 1876 llvm::SmallPtrSet<const ObjCMethodDecl *, 8> InsMap; in DiagnoseUnimplementedProperties() 1957 ObjCMethodDecl *GetterMethod = nullptr; in AtomicPropertySetterGetterRules() [all …]
|
/external/clang/lib/Index/ |
D | IndexDecl.cpp | 41 static bool hasUserDefined(const ObjCMethodDecl *D, in hasUserDefined() 43 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined() 62 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(DC)) { in handleDeclarator() 78 bool handleObjCMethod(const ObjCMethodDecl *D) { in handleObjCMethod() 289 bool VisitObjCMethodDecl(const ObjCMethodDecl *D) { in VisitObjCMethodDecl() 300 if (ObjCMethodDecl *MD = D->getGetterMethodDecl()) in VisitObjCPropertyDecl() 303 if (ObjCMethodDecl *MD = D->getSetterMethodDecl()) in VisitObjCPropertyDecl() 331 if (ObjCMethodDecl *MD = PD->getGetterMethodDecl()) { in VisitObjCPropertyImplDecl() 336 if (ObjCMethodDecl *MD = PD->getSetterMethodDecl()) { in VisitObjCPropertyImplDecl() 443 if (isa<ObjCMethodDecl>(D)) in indexTopLevelDecl()
|
D | IndexBody.cpp | 128 else if (auto *MD = dyn_cast<ObjCMethodDecl>(ParentDC)) in addCallRole() 177 if (ObjCMethodDecl *MD = E->getMethodDecl()) { in VisitObjCMessageExpr() 216 bool passObjCLiteralMethodCall(const ObjCMethodDecl *MD, const Expr *E) { in passObjCLiteralMethodCall() 226 if (ObjCMethodDecl *MD = E->getBoxingMethod()) { in VisitObjCBoxedExpr() 233 if (ObjCMethodDecl *MD = E->getDictWithObjectsMethod()) { in VisitObjCDictionaryLiteral() 240 if (ObjCMethodDecl *MD = E->getArrayWithObjectsMethod()) { in VisitObjCArrayLiteral()
|
D | IndexingContext.cpp | 156 if (isa<ObjCMethodDecl>(D)) in shouldIgnoreIfImplicit() 184 if (auto MD = dyn_cast<ObjCMethodDecl>(D)) in isDeclADefinition() 237 if (D->isImplicit() && !isa<ObjCMethodDecl>(D)) in handleDeclOccurrence() 293 if (D->isImplicit() && !isa<ObjCMethodDecl>(D) && in handleDeclOccurrence() 304 isa<ObjCInterfaceDecl>(Parent) || isa<ObjCMethodDecl>(Parent)) && in handleDeclOccurrence()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | AnalysisConsumer.cpp | 274 if (isa<FunctionDecl>(D) || isa<ObjCMethodDecl>(D)) { in DisplayFunction() 282 else if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) { in DisplayFunction() 359 bool VisitObjCMethodDecl(ObjCMethodDecl *MD) { in VisitObjCMethodDecl() 412 if (isa<ObjCMethodDecl>(*I)) in storeTopLevelDecls() 432 if (isa<ObjCMethodDecl>(D)) in shouldSkipFunction() 446 assert(isa<ObjCMethodDecl>(D) && in getInliningModeForFunction() 448 const ObjCMethodDecl *ObjCM = cast<ObjCMethodDecl>(D); in getInliningModeForFunction() 501 Visited.insert(isa<ObjCMethodDecl>(Callee) ? Callee in HandleDeclsCallGraph() 572 if (const ObjCMethodDecl *ID = dyn_cast<ObjCMethodDecl>(D)) { in getFunctionName()
|
/external/clang/lib/CodeGen/ |
D | CGObjCRuntime.h | 48 class ObjCMethodDecl; variable 136 const ObjCMethodDecl *Method) = 0; 169 const ObjCMethodDecl *Method = nullptr) = 0; 187 const ObjCMethodDecl *Method = nullptr) = 0; 204 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 295 MessageSendInfo getMessageSendInfo(const ObjCMethodDecl *method,
|
/external/clang/include/clang/Analysis/ |
D | CodeInjector.h | 24 class ObjCMethodDecl; variable 42 virtual Stmt *getBody(const ObjCMethodDecl *D) = 0;
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 275 if (const ObjCMethodDecl* MD = dyn_cast<ObjCMethodDecl>(D)) in getDeclaredResultType() 305 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) in isVariadic() 675 const ObjCMethodDecl *D = getDecl(); in parameters() 831 const ObjCMethodDecl *MD = getDecl(); in getAccessedProperty() 863 ObjCMethodDecl *D = nullptr; in canBeOverridenInSubclass() 947 Optional<const ObjCMethodDecl *> > in getRuntimeDefinition() 951 Optional<const ObjCMethodDecl *> &Val = PMC[std::make_pair(IDecl, Sel)]; in getRuntimeDefinition() 960 if (const ObjCMethodDecl *CompileTimeMD = E->getMethodDecl()) in getRuntimeDefinition() 987 const ObjCMethodDecl *MD = Val.getValue(); in getRuntimeDefinition() 1021 const ObjCMethodDecl *D = cast<ObjCMethodDecl>(CalleeCtx->getDecl()); in getInitialStackFrameContents()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 59 ObjCMethodDecl *OM); 60 bool migrateProperty(ASTContext &Ctx, ObjCContainerDecl *D, ObjCMethodDecl *OM); 61 void migrateNsReturnsInnerPointer(ASTContext &Ctx, ObjCMethodDecl *OM); 64 ObjCMethodDecl *OM, 71 const ObjCMethodDecl *MethodDecl, bool ResultAnnotated); 81 const ObjCMethodDecl *MethodDecl); 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() [all …]
|
/external/clang/lib/Analysis/ |
D | BodyFarm.h | 27 class ObjCMethodDecl; variable 40 Stmt *getBody(const ObjCMethodDecl *D);
|
/external/clang/include/clang/CodeGen/ |
D | CodeGenABITypes.h | 44 class ObjCMethodDecl; variable 52 const ObjCMethodDecl *MD,
|
/external/clang/include/clang/StaticAnalyzer/Checkers/ |
D | ObjCRetainCount.h | 28 class ObjCMethodDecl; variable 225 static CallEffects getEffect(const ObjCMethodDecl *MD);
|