reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
13710 FnDecl->getType()->getAs<FunctionType>()->getReturnType(); 13714 return SemaRef.Diag(FnDecl->getLocation(), 13716 << FnDecl->getDeclName() << ExpectedResultType; 13727 return SemaRef.Diag(FnDecl->getLocation(), 13729 << FnDecl->getDeclName() << ExpectedResultType; 13732 if (FnDecl->getDescribedFunctionTemplate() && FnDecl->getNumParams() < 2) 13732 if (FnDecl->getDescribedFunctionTemplate() && FnDecl->getNumParams() < 2) 13733 return SemaRef.Diag(FnDecl->getLocation(), 13735 << FnDecl->getDeclName(); 13738 if (FnDecl->getNumParams() == 0) 13739 return SemaRef.Diag(FnDecl->getLocation(), 13741 << FnDecl->getDeclName(); 13744 QualType FirstParamType = FnDecl->getParamDecl(0)->getType(); 13746 return SemaRef.Diag(FnDecl->getLocation(), DependentParamTypeDiag) 13747 << FnDecl->getDeclName() << ExpectedFirstParamType; 13753 FnDecl->getParamDecl(0)->getType()->getAs<PointerType>()) { 13759 return SemaRef.Diag(FnDecl->getLocation(), InvalidParamTypeDiag) 13760 << FnDecl->getDeclName() << ExpectedFirstParamType;