Searched refs:MethodDecl (Results 1 - 14 of 14) sorted by relevance

/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp178 ASTResultSynthesizer::SynthesizeObjCMethodResult (ObjCMethodDecl *MethodDecl) argument
185 if (!MethodDecl)
193 MethodDecl->print(os);
200 Stmt *method_body = MethodDecl->getBody();
208 MethodDecl);
215 MethodDecl->print(os);
H A DASTResultSynthesizer.h130 /// @param[in] MethodDecl
133 bool SynthesizeObjCMethodResult(clang::ObjCMethodDecl *MethodDecl);
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DObjCMT.cpp71 const ObjCMethodDecl *MethodDecl, bool ResultAnnotated);
81 const ObjCMethodDecl *MethodDecl);
1582 const ObjCMethodDecl *MethodDecl,
1596 ObjCMethodFamily OMF = MethodDecl->getMethodFamily();
1614 commit.insertBefore(MethodDecl->getLocEnd(), AnnotationString);
1620 for (ObjCMethodDecl::param_const_iterator pi = MethodDecl->param_begin(),
1621 pe = MethodDecl->param_end(); pi != pe; ++pi, ++i) {
1635 const ObjCMethodDecl *MethodDecl) {
1636 if (MethodDecl->hasBody() || MethodDecl
1580 AddCFAnnotations(ASTContext &Ctx, const CallEffects &CE, const ObjCMethodDecl *MethodDecl, bool ResultAnnotated) argument
1633 migrateAddMethodAnnotation( ASTContext &Ctx, const ObjCMethodDecl *MethodDecl) argument
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/
H A DDeclObjC.cpp636 ObjCMethodDecl *MethodDecl = nullptr; local
643 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance)))
644 return MethodDecl;
648 if ((MethodDecl = Cat->getMethod(Sel, isInstance)))
649 if (C != Cat || !MethodDecl->isImplicit())
650 return MethodDecl;
654 if ((MethodDecl = I->lookupMethod(Sel, isInstance)))
655 return MethodDecl;
665 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance)))
666 if (C != Cat || !MethodDecl
1788 ObjCMethodDecl *MethodDecl = nullptr; local
[all...]
H A DASTContext.cpp8944 ASTContext::ObjCMethodsAreEqual(const ObjCMethodDecl *MethodDecl,
8947 if (MethodDecl->hasAttr<UnavailableAttr>()
8948 || MethodDecl->hasAttr<DeprecatedAttr>())
8950 if (MethodDecl->getObjCDeclQualifier() !=
8953 if (!hasSameType(MethodDecl->getReturnType(), MethodImpl->getReturnType()))
8956 if (MethodDecl->param_size() != MethodImpl->param_size())
8960 IF = MethodDecl->param_begin(), EM = MethodImpl->param_end(),
8961 EF = MethodDecl->param_end();
8970 return (MethodDecl->isVariadic() == MethodImpl->isVariadic());
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclObjC.cpp2202 ObjCMethodDecl *MethodDecl,
2207 objcModifiersConflict(MethodDecl->getObjCDeclQualifier(),
2216 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration)
2217 << MethodDecl->getReturnTypeSourceRange();
2225 MethodDecl->getReturnType(),
2230 *MethodDecl->getReturnType()->getNullability(S.Context);
2239 ((MethodDecl->getObjCDeclQualifier() & Decl::OBJC_TQ_CSNullability)
2241 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration);
2245 MethodDecl->getReturnType()))
2259 MethodDecl
2200 CheckMethodOverrideReturn(Sema &S, ObjCMethodDecl *MethodImpl, ObjCMethodDecl *MethodDecl, bool IsProtocolMethodDecl, bool IsOverridingMode, bool Warn) argument
2284 CheckMethodOverrideParam(Sema &S, ObjCMethodDecl *MethodImpl, ObjCMethodDecl *MethodDecl, ParmVarDecl *ImplVar, ParmVarDecl *IfaceVar, bool IsProtocolMethodDecl, bool IsOverridingMode, bool Warn) argument
2439 WarnConflictingTypedMethods(ObjCMethodDecl *ImpMethodDecl, ObjCMethodDecl *MethodDecl, bool IsProtocolMethodDecl) argument
2490 WarnExactTypedMethods(ObjCMethodDecl *ImpMethodDecl, ObjCMethodDecl *MethodDecl, bool IsProtocolMethodDecl) argument
[all...]
H A DSemaExpr.cpp12655 } else if (CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(Func)) {
12656 if (MethodDecl->isOverloadedOperator() &&
12657 MethodDecl->getOverloadedOperator() == OO_Equal) {
12658 MethodDecl = cast<CXXMethodDecl>(MethodDecl->getFirstDecl());
12659 if (MethodDecl->isDefaulted() && !MethodDecl->isDeleted()) {
12660 if (MethodDecl->isCopyAssignmentOperator())
12661 DefineImplicitCopyAssignment(Loc, MethodDecl);
12663 DefineImplicitMoveAssignment(Loc, MethodDecl);
[all...]
H A DSemaDeclAttr.cpp134 if (const CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(D))
135 return MethodDecl->isInstance();
H A DSemaDeclCXX.cpp11657 if (CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(FnDecl)) {
11658 if (MethodDecl->isStatic())
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DInitialization.h136 ObjCMethodDecl *MethodDecl; member in union:clang::InitializedEntity::__anon3535
281 Result.MethodDecl = MD;
361 ObjCMethodDecl *getMethodDecl() const { return MethodDecl; }
H A DSema.h2998 ObjCMethodDecl *MethodDecl,
3008 ObjCMethodDecl *MethodDecl,
4442 CXXMethodDecl *MethodDecl);
4455 CXXMethodDecl *MethodDecl);
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp1601 auto *MethodDecl = cast<CXXMethodDecl>(GD.getDecl()); local
1602 llvm::Value *VTable = CGF.GetVTablePtr(This, Ty, MethodDecl->getParent());
1605 CGF.EmitVTablePtrCheckForCall(MethodDecl, VTable,
H A DMicrosoftCXXABI.cpp1811 auto *MethodDecl = cast<CXXMethodDecl>(GD.getDecl()); local
1812 llvm::Value *VTable = CGF.GetVTablePtr(VPtr, Ty, MethodDecl->getParent());
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DASTContext.h2022 bool ObjCMethodsAreEqual(const ObjCMethodDecl *MethodDecl,

Completed in 505 milliseconds