Lines Matching defs:SecondMethod
58 const MethodT *SecondMethod) {
88 SecondMethod](ODRMethodParametersDifference DiffType) {
89 DeclarationName SecondName = SecondMethod->getDeclName();
90 DiagMethodType SecondMethodType = GetDiagMethodType(SecondMethod);
91 return Diags.Report(SecondMethod->getLocation(),
94 << SecondMethod->getSourceRange() << DiffType << SecondMethodType
99 const unsigned SecondNumParameters = SecondMethod->param_size();
108 const ParmVarDecl *SecondParam = SecondMethod->getParamDecl(I);
423 const ObjCMethodDecl *SecondMethod) const {
440 auto DiagNote = [SecondModule, SecondMethod,
442 return Diag(SecondMethod->getLocation(),
445 << SecondMethod->getSourceRange() << DiffType;
449 computeODRHash(SecondMethod->getReturnType())) {
451 DiagNote(ReturnType) << SecondMethod << SecondMethod->getReturnType();
455 if (FirstMethod->isInstanceMethod() != SecondMethod->isInstanceMethod()) {
459 << SecondMethod << SecondMethod->isInstanceMethod();
463 SecondMethod->getImplementationControl()) {
467 SecondMethod->getImplementationControl());
471 SecondMethod->isThisDeclarationADesignatedInitializer()) {
476 << SecondMethod
477 << SecondMethod->isThisDeclarationADesignatedInitializer();
480 if (FirstMethod->isDirectMethod() != SecondMethod->isDirectMethod()) {
482 DiagNote(Directness) << SecondMethod << SecondMethod->isDirectMethod();
487 FirstMethod, SecondMethod))
494 DeclarationName SecondName = SecondMethod->getDeclName();
1063 const CXXMethodDecl *SecondMethod = cast<CXXMethodDecl>(SecondDecl);
1065 SecondMethodType = GetMethodTypeForDiagnostics(SecondMethod);
1067 DeclarationName SecondName = SecondMethod->getDeclName();
1074 auto DiagMethodNote = [&DiagNote, SecondMethod, SecondMethodType,
1076 return DiagNote(SecondMethod->getLocation(),
1077 SecondMethod->getSourceRange(), DiffType)
1088 const bool SecondDeleted = SecondMethod->isDeletedAsWritten();
1096 const bool SecondDefaulted = SecondMethod->isExplicitlyDefaulted();
1104 const bool SecondVirtual = SecondMethod->isVirtualAsWritten();
1106 const bool SecondPure = SecondMethod->isPureVirtual();
1118 StorageClass SecondStorage = SecondMethod->getStorageClass();
1128 const bool SecondVolatile = SecondMethod->isVolatile();
1136 const bool SecondConst = SecondMethod->isConst();
1144 const bool SecondInline = SecondMethod->isInlineSpecified();
1153 FirstMethod, SecondMethod))
1158 const ParmVarDecl *SecondParam = SecondMethod->getParamDecl(I);
1185 SecondMethod->getTemplateSpecializationArgs();
1248 ComputeCXXMethodODRHash(SecondMethod) != SecondMethod->getODRHash();