Lines Matching defs:FirstMethod

57                                                 const MethodT *FirstMethod,
78 FirstMethod](ODRMethodParametersDifference DiffType) {
79 DeclarationName FirstName = FirstMethod->getDeclName();
80 DiagMethodType FirstMethodType = GetDiagMethodType(FirstMethod);
81 return Diags.Report(FirstMethod->getLocation(),
84 << FirstMethod->getSourceRange() << DiffType << FirstMethodType
98 const unsigned FirstNumParameters = FirstMethod->param_size();
107 const ParmVarDecl *FirstParam = FirstMethod->getParamDecl(I);
422 StringRef SecondModule, const ObjCMethodDecl *FirstMethod,
433 auto DiagError = [FirstObjCContainer, FirstModule, FirstMethod,
435 return Diag(FirstMethod->getLocation(),
438 << FirstMethod->getSourceRange() << DiffType;
448 if (computeODRHash(FirstMethod->getReturnType()) !=
450 DiagError(ReturnType) << FirstMethod << FirstMethod->getReturnType();
455 if (FirstMethod->isInstanceMethod() != SecondMethod->isInstanceMethod()) {
457 << FirstMethod << FirstMethod->isInstanceMethod();
462 if (FirstMethod->getImplementationControl() !=
465 << llvm::to_underlying(FirstMethod->getImplementationControl());
470 if (FirstMethod->isThisDeclarationADesignatedInitializer() !=
473 << FirstMethod
474 << FirstMethod->isThisDeclarationADesignatedInitializer();
480 if (FirstMethod->isDirectMethod() != SecondMethod->isDirectMethod()) {
481 DiagError(Directness) << FirstMethod << FirstMethod->isDirectMethod();
487 FirstMethod, SecondMethod))
493 DeclarationName FirstName = FirstMethod->getDeclName();
1062 const CXXMethodDecl *FirstMethod = cast<CXXMethodDecl>(FirstDecl);
1064 FirstMethodType = GetMethodTypeForDiagnostics(FirstMethod);
1066 DeclarationName FirstName = FirstMethod->getDeclName();
1068 auto DiagMethodError = [&DiagError, FirstMethod, FirstMethodType,
1070 return DiagError(FirstMethod->getLocation(),
1071 FirstMethod->getSourceRange(), DiffType)
1087 const bool FirstDeleted = FirstMethod->isDeletedAsWritten();
1095 const bool FirstDefaulted = FirstMethod->isExplicitlyDefaulted();
1103 const bool FirstVirtual = FirstMethod->isVirtualAsWritten();
1105 const bool FirstPure = FirstMethod->isPureVirtual();
1117 StorageClass FirstStorage = FirstMethod->getStorageClass();
1127 const bool FirstVolatile = FirstMethod->isVolatile();
1135 const bool FirstConst = FirstMethod->isConst();
1143 const bool FirstInline = FirstMethod->isInlineSpecified();
1153 FirstMethod, SecondMethod))
1156 for (unsigned I = 0, N = FirstMethod->param_size(); I < N; ++I) {
1157 const ParmVarDecl *FirstParam = FirstMethod->getParamDecl(I);
1183 FirstMethod->getTemplateSpecializationArgs();
1246 ComputeCXXMethodODRHash(FirstMethod) != FirstMethod->getODRHash();