Lines Matching refs:DerivedMD
41 const CXXMethodDecl *DerivedMD) { in checkOverridingFunctionReturnType() argument
46 QualType DerivedReturnTy = DerivedMD->getType() in checkOverridingFunctionReturnType()
99 DRD->getCanonicalDecl() == DerivedMD->getParent()->getCanonicalDecl(); in checkOverridingFunctionReturnType()
132 const CXXMethodDecl *DerivedMD) { in checkParamTypes() argument
134 unsigned NumParamB = DerivedMD->getNumParams(); in checkParamTypes()
141 DerivedMD->getParamDecl(I)->getType().getCanonicalType())) in checkParamTypes()
151 const CXXMethodDecl *DerivedMD) { in checkOverrideWithoutName() argument
152 if (BaseMD->isStatic() != DerivedMD->isStatic()) in checkOverrideWithoutName()
155 if (BaseMD->getType() == DerivedMD->getType()) in checkOverrideWithoutName()
160 if (!checkOverridingFunctionReturnType(Context, BaseMD, DerivedMD)) in checkOverrideWithoutName()
162 return checkParamTypes(BaseMD, DerivedMD); in checkOverrideWithoutName()
170 const CXXMethodDecl *DerivedMD) { in checkOverrideByDerivedMethod() argument
171 for (CXXMethodDecl::method_iterator I = DerivedMD->begin_overridden_methods(), in checkOverrideByDerivedMethod()
172 E = DerivedMD->end_overridden_methods(); in checkOverrideByDerivedMethod()
204 for (const CXXMethodDecl *DerivedMD : DerivedRD->methods()) { in isOverriddenByDerivedClass() local
205 if (!isOverrideMethod(DerivedMD)) in isOverriddenByDerivedClass()
208 if (checkOverrideByDerivedMethod(BaseMD, DerivedMD)) { in isOverriddenByDerivedClass()
228 const auto *DerivedMD = Result.Nodes.getNodeAs<CXXMethodDecl>("method"); in check() local
229 assert(DerivedMD); in check()
233 const auto *DerivedRD = DerivedMD->getParent()->getDefinition(); in check()
246 DerivedMD->getName(), EditDistanceThreshold); in check()
248 if (checkOverrideWithoutName(Context, BaseMD, DerivedMD)) { in check()
251 SourceRange(DerivedMD->getLocation())); in check()
254 !DerivedMD->isTemplateInstantiation(); in check()
256 diag(DerivedMD->getBeginLoc(), in check()
259 << DerivedMD->getQualifiedNameAsString() in check()