Lines Matching refs:FirstParam

10333             const auto *FirstParam = cast<TemplateTypeParmDecl>(FirstDecl);  in diagnoseOdrViolations()  local
10336 FirstParam->hasDefaultArgument() && in diagnoseOdrViolations()
10337 !FirstParam->defaultArgumentWasInherited(); in diagnoseOdrViolations()
10367 const auto *FirstParam = cast<NonTypeTemplateParmDecl>(FirstDecl); in diagnoseOdrViolations() local
10370 FirstParam->hasDefaultArgument() && in diagnoseOdrViolations()
10371 !FirstParam->defaultArgumentWasInherited(); in diagnoseOdrViolations()
10401 const auto *FirstParam = cast<TemplateTemplateParmDecl>(FirstDecl); in diagnoseOdrViolations() local
10405 FirstParam->hasDefaultArgument() && in diagnoseOdrViolations()
10406 !FirstParam->defaultArgumentWasInherited(); in diagnoseOdrViolations()
10695 const ParmVarDecl *FirstParam = FirstMethod->getParamDecl(I); in diagnoseOdrViolations() local
10698 QualType FirstParamType = FirstParam->getType(); in diagnoseOdrViolations()
10737 DeclarationName FirstParamName = FirstParam->getDeclName(); in diagnoseOdrViolations()
10751 const Expr *FirstInit = FirstParam->getInit(); in diagnoseOdrViolations()
11012 NamedDecl *FirstParam = FirstTPL->getParam(i); in diagnoseOdrViolations() local
11015 if (FirstParam->getKind() != SecondParam->getKind()) { in diagnoseOdrViolations()
11038 << FirstTemplate << (i + 1) << GetParamType(FirstParam); in diagnoseOdrViolations()
11048 if (FirstParam->getName() != SecondParam->getName()) { in diagnoseOdrViolations()
11052 << FirstTemplate << (i + 1) << (bool)FirstParam->getIdentifier() in diagnoseOdrViolations()
11053 << FirstParam; in diagnoseOdrViolations()
11063 if (isa<TemplateTypeParmDecl>(FirstParam) && in diagnoseOdrViolations()
11066 cast<TemplateTypeParmDecl>(FirstParam); in diagnoseOdrViolations()
11125 if (isa<TemplateTemplateParmDecl>(FirstParam) && in diagnoseOdrViolations()
11128 cast<TemplateTemplateParmDecl>(FirstParam); in diagnoseOdrViolations()
11210 if (isa<NonTypeTemplateParmDecl>(FirstParam) && in diagnoseOdrViolations()
11213 cast<NonTypeTemplateParmDecl>(FirstParam); in diagnoseOdrViolations()
11382 auto *FirstParam = FirstFunction->getParamDecl(I); in diagnoseOdrViolations() local
11385 assert(getContext().hasSameType(FirstParam->getType(), in diagnoseOdrViolations()
11389 if (FirstParam->getDeclName() != SecondParam->getDeclName()) { in diagnoseOdrViolations()
11390 ODRDiagError(FirstParam->getLocation(), FirstParam->getSourceRange(), in diagnoseOdrViolations()
11392 << I + 1 << FirstParam->getDeclName(); in diagnoseOdrViolations()
11400 QualType FirstParamType = FirstParam->getType(); in diagnoseOdrViolations()
11407 ODRDiagError(FirstParam->getLocation(), in diagnoseOdrViolations()
11408 FirstParam->getSourceRange(), ParameterType) in diagnoseOdrViolations()
11412 ODRDiagError(FirstParam->getLocation(), in diagnoseOdrViolations()
11413 FirstParam->getSourceRange(), ParameterType) in diagnoseOdrViolations()
11432 const Expr *FirstInit = FirstParam->getInit(); in diagnoseOdrViolations()
11435 ODRDiagError(FirstParam->getLocation(), FirstParam->getSourceRange(), in diagnoseOdrViolations()
11449 ODRDiagError(FirstParam->getLocation(), FirstParam->getSourceRange(), in diagnoseOdrViolations()
11459 assert(ComputeSubDeclODRHash(FirstParam) == in diagnoseOdrViolations()