Searched refs:NewMethod (Results 1 - 4 of 4) sorted by relevance

/external/clang/lib/Sema/
H A DSemaDeclObjC.cpp112 void Sema::CheckObjCMethodOverride(ObjCMethodDecl *NewMethod, argument
115 !NewMethod->hasRelatedResultType()) {
120 QualType ResultType = NewMethod->getReturnType();
123 NewMethod->getReturnTypeSourceInfo())
128 = dyn_cast<ObjCInterfaceDecl>(NewMethod->getDeclContext());
130 DeclContext *DC = NewMethod->getDeclContext();
141 Diag(NewMethod->getLocation(),
147 Diag(NewMethod->getLocation(),
163 if ((NewMethod->hasAttr<NSReturnsRetainedAttr>() !=
165 Diag(NewMethod
[all...]
H A DSemaOverload.cpp1044 CXXMethodDecl *NewMethod = dyn_cast<CXXMethodDecl>(New); local
1045 if (OldMethod && NewMethod &&
1046 !OldMethod->isStatic() && !NewMethod->isStatic()) {
1047 if (OldMethod->getRefQualifier() != NewMethod->getRefQualifier()) {
1050 NewMethod->getRefQualifier() == RQ_None)) {
1057 Diag(NewMethod->getLocation(), diag::err_ref_qualifier_overload)
1058 << NewMethod->getRefQualifier() << OldMethod->getRefQualifier();
1069 unsigned NewQuals = NewMethod->getTypeQualifiers();
1070 if (!getLangOpts().CPlusPlus1y && NewMethod->isConstexpr() &&
1071 !isa<CXXConstructorDecl>(NewMethod))
[all...]
H A DSemaDecl.cpp2629 CXXMethodDecl *NewMethod = dyn_cast<CXXMethodDecl>(New); local
2630 if (OldMethod && NewMethod) {
2632 NewMethod->setTrivial(OldMethod->isTrivial());
2639 NewMethod->isFunctionTemplateSpecialization();
2640 bool isFriend = NewMethod->getFriendObjectKind();
2642 if (!isFriend && NewMethod->getLexicalDeclContext()->isRecord() &&
2647 if (OldMethod->isStatic() != NewMethod->isStatic()) {
2661 else if (isa<CXXDestructorDecl>(NewMethod))
2663 else if (isa<CXXConversionDecl>(NewMethod))
2682 NewMethod
[all...]
/external/clang/include/clang/Sema/
H A DSema.h7057 void CheckObjCMethodOverride(ObjCMethodDecl *NewMethod,

Completed in 202 milliseconds