Home
last modified time | relevance | path

Searched refs:MethodDecl (Results 1 – 10 of 10) sorted by relevance

/minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/
H A DObjCMT.cpp71 const ObjCMethodDecl *MethodDecl, bool ResultAnnotated);
81 const ObjCMethodDecl *MethodDecl);
1578 const ObjCMethodDecl *MethodDecl, in AddCFAnnotations() argument
1593 ObjCMethodFamily OMF = MethodDecl->getMethodFamily(); in AddCFAnnotations()
1612 commit.insertBefore(MethodDecl->getLocEnd(), AnnotationString); in AddCFAnnotations()
1618 for (ObjCMethodDecl::param_const_iterator pi = MethodDecl->param_begin(), in AddCFAnnotations()
1619 pe = MethodDecl->param_end(); pi != pe; ++pi, ++i) { in AddCFAnnotations()
1633 const ObjCMethodDecl *MethodDecl) { in migrateAddMethodAnnotation() argument
1634 if (MethodDecl->hasBody() || MethodDecl->isImplicit()) in migrateAddMethodAnnotation()
1637 CallEffects CE = CallEffects::getEffect(MethodDecl); in migrateAddMethodAnnotation()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DDeclObjC.cpp556 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod() local
563 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
564 return MethodDecl; in lookupMethod()
568 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod()
569 if (C != Cat || !MethodDecl->isImplicit()) in lookupMethod()
570 return MethodDecl; in lookupMethod()
574 if ((MethodDecl = I->lookupMethod(Sel, isInstance))) in lookupMethod()
575 return MethodDecl; in lookupMethod()
585 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance))) in lookupMethod()
586 if (C != Cat || !MethodDecl->isImplicit()) in lookupMethod()
[all …]
H A DASTContext.cpp8331 ASTContext::ObjCMethodsAreEqual(const ObjCMethodDecl *MethodDecl, in ObjCMethodsAreEqual() argument
8334 if (MethodDecl->hasAttr<UnavailableAttr>() in ObjCMethodsAreEqual()
8335 || MethodDecl->hasAttr<DeprecatedAttr>()) in ObjCMethodsAreEqual()
8337 if (MethodDecl->getObjCDeclQualifier() != in ObjCMethodsAreEqual()
8340 if (!hasSameType(MethodDecl->getReturnType(), MethodImpl->getReturnType())) in ObjCMethodsAreEqual()
8343 if (MethodDecl->param_size() != MethodImpl->param_size()) in ObjCMethodsAreEqual()
8347 IF = MethodDecl->param_begin(), EM = MethodImpl->param_end(), in ObjCMethodsAreEqual()
8348 EF = MethodDecl->param_end(); in ObjCMethodsAreEqual()
8357 return (MethodDecl->isVariadic() == MethodImpl->isVariadic()); in ObjCMethodsAreEqual()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaDeclObjC.cpp1347 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideReturn() argument
1352 (MethodDecl->getObjCDeclQualifier() != in CheckMethodOverrideReturn()
1361 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration) in CheckMethodOverrideReturn()
1362 << MethodDecl->getReturnTypeSourceRange(); in CheckMethodOverrideReturn()
1369 MethodDecl->getReturnType())) in CheckMethodOverrideReturn()
1383 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
1398 << MethodImpl->getDeclName() << MethodDecl->getReturnType() in CheckMethodOverrideReturn()
1401 S.Diag(MethodDecl->getLocation(), IsOverridingMode in CheckMethodOverrideReturn()
1404 << MethodDecl->getReturnTypeSourceRange(); in CheckMethodOverrideReturn()
1410 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideParam() argument
[all …]
H A DSemaExpr.cpp11640 } else if (CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(Func)) { in MarkFunctionReferenced() local
11641 if (MethodDecl->isOverloadedOperator() && in MarkFunctionReferenced()
11642 MethodDecl->getOverloadedOperator() == OO_Equal) { in MarkFunctionReferenced()
11643 MethodDecl = cast<CXXMethodDecl>(MethodDecl->getFirstDecl()); in MarkFunctionReferenced()
11644 if (MethodDecl->isDefaulted() && !MethodDecl->isDeleted()) { in MarkFunctionReferenced()
11645 if (MethodDecl->isCopyAssignmentOperator()) in MarkFunctionReferenced()
11646 DefineImplicitCopyAssignment(Loc, MethodDecl); in MarkFunctionReferenced()
11648 DefineImplicitMoveAssignment(Loc, MethodDecl); in MarkFunctionReferenced()
11650 } else if (isa<CXXConversionDecl>(MethodDecl) && in MarkFunctionReferenced()
11651 MethodDecl->getParent()->isLambda()) { in MarkFunctionReferenced()
[all …]
H A DSemaDeclAttr.cpp128 if (const CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(D)) in isInstanceMethod() local
129 return MethodDecl->isInstance(); in isInstanceMethod()
H A DSemaDeclCXX.cpp11473 if (CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(FnDecl)) { in CheckOverloadedOperatorDeclaration() local
11474 if (MethodDecl->isStatic()) in CheckOverloadedOperatorDeclaration()
/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DInitialization.h136 ObjCMethodDecl *MethodDecl; member
281 Result.MethodDecl = MD; in InitializeRelatedResult()
361 ObjCMethodDecl *getMethodDecl() const { return MethodDecl; } in getMethodDecl()
H A DSema.h2826 ObjCMethodDecl *MethodDecl,
2836 ObjCMethodDecl *MethodDecl,
4245 CXXMethodDecl *MethodDecl);
4258 CXXMethodDecl *MethodDecl);
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DASTContext.h1829 bool ObjCMethodsAreEqual(const ObjCMethodDecl *MethodDecl,