Lines Matching refs:SecondMethod

58                                                 const MethodT *SecondMethod) {  in diagnoseSubMismatchMethodParameters()  argument
88 SecondMethod](ODRMethodParametersDifference DiffType) { in diagnoseSubMismatchMethodParameters()
89 DeclarationName SecondName = SecondMethod->getDeclName(); in diagnoseSubMismatchMethodParameters()
90 DiagMethodType SecondMethodType = GetDiagMethodType(SecondMethod); in diagnoseSubMismatchMethodParameters()
91 return Diags.Report(SecondMethod->getLocation(), in diagnoseSubMismatchMethodParameters()
94 << SecondMethod->getSourceRange() << DiffType << SecondMethodType in diagnoseSubMismatchMethodParameters()
99 const unsigned SecondNumParameters = SecondMethod->param_size(); in diagnoseSubMismatchMethodParameters()
108 const ParmVarDecl *SecondParam = SecondMethod->getParamDecl(I); in diagnoseSubMismatchMethodParameters()
423 const ObjCMethodDecl *SecondMethod) const { in diagnoseSubMismatchObjCMethod()
440 auto DiagNote = [SecondModule, SecondMethod, in diagnoseSubMismatchObjCMethod()
442 return Diag(SecondMethod->getLocation(), in diagnoseSubMismatchObjCMethod()
445 << SecondMethod->getSourceRange() << DiffType; in diagnoseSubMismatchObjCMethod()
449 computeODRHash(SecondMethod->getReturnType())) { in diagnoseSubMismatchObjCMethod()
451 DiagNote(ReturnType) << SecondMethod << SecondMethod->getReturnType(); in diagnoseSubMismatchObjCMethod()
455 if (FirstMethod->isInstanceMethod() != SecondMethod->isInstanceMethod()) { in diagnoseSubMismatchObjCMethod()
459 << SecondMethod << SecondMethod->isInstanceMethod(); in diagnoseSubMismatchObjCMethod()
463 SecondMethod->getImplementationControl()) { in diagnoseSubMismatchObjCMethod()
465 DiagNote(ControlLevel) << SecondMethod->getImplementationControl(); in diagnoseSubMismatchObjCMethod()
469 SecondMethod->isThisDeclarationADesignatedInitializer()) { in diagnoseSubMismatchObjCMethod()
474 << SecondMethod in diagnoseSubMismatchObjCMethod()
475 << SecondMethod->isThisDeclarationADesignatedInitializer(); in diagnoseSubMismatchObjCMethod()
478 if (FirstMethod->isDirectMethod() != SecondMethod->isDirectMethod()) { in diagnoseSubMismatchObjCMethod()
480 DiagNote(Directness) << SecondMethod << SecondMethod->isDirectMethod(); in diagnoseSubMismatchObjCMethod()
485 FirstMethod, SecondMethod)) in diagnoseSubMismatchObjCMethod()
492 DeclarationName SecondName = SecondMethod->getDeclName(); in diagnoseSubMismatchObjCMethod()
1058 const CXXMethodDecl *SecondMethod = cast<CXXMethodDecl>(SecondDecl); in diagnoseMismatch() local
1060 SecondMethodType = GetMethodTypeForDiagnostics(SecondMethod); in diagnoseMismatch()
1062 DeclarationName SecondName = SecondMethod->getDeclName(); in diagnoseMismatch()
1069 auto DiagMethodNote = [&DiagNote, SecondMethod, SecondMethodType, in diagnoseMismatch()
1071 return DiagNote(SecondMethod->getLocation(), in diagnoseMismatch()
1072 SecondMethod->getSourceRange(), DiffType) in diagnoseMismatch()
1083 const bool SecondDeleted = SecondMethod->isDeletedAsWritten(); in diagnoseMismatch()
1091 const bool SecondDefaulted = SecondMethod->isExplicitlyDefaulted(); in diagnoseMismatch()
1099 const bool SecondVirtual = SecondMethod->isVirtualAsWritten(); in diagnoseMismatch()
1101 const bool SecondPure = SecondMethod->isPure(); in diagnoseMismatch()
1113 StorageClass SecondStorage = SecondMethod->getStorageClass(); in diagnoseMismatch()
1123 const bool SecondVolatile = SecondMethod->isVolatile(); in diagnoseMismatch()
1131 const bool SecondConst = SecondMethod->isConst(); in diagnoseMismatch()
1139 const bool SecondInline = SecondMethod->isInlineSpecified(); in diagnoseMismatch()
1148 FirstMethod, SecondMethod)) in diagnoseMismatch()
1153 const ParmVarDecl *SecondParam = SecondMethod->getParamDecl(I); in diagnoseMismatch()
1180 SecondMethod->getTemplateSpecializationArgs(); in diagnoseMismatch()
1243 ComputeCXXMethodODRHash(SecondMethod) != SecondMethod->getODRHash(); in diagnoseMismatch()