Lines Matching refs:NewFD
751 bool Sema::CheckConstexprFunctionDecl(const FunctionDecl *NewFD) {
752 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewFD);
760 Diag(NewFD->getLocation(), diag::err_constexpr_virtual_base)
761 << isa<CXXConstructorDecl>(NewFD)
771 if (!isa<CXXConstructorDecl>(NewFD)) {
776 const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(NewFD);
778 Diag(NewFD->getLocation(), diag::err_constexpr_virtual);
792 QualType RT = NewFD->getResultType();
794 RequireLiteralType(NewFD->getLocation(), RT,
800 if (!CheckConstexprParameterTypes(*this, NewFD))
12819 // Don't introduce NewFD into scope; there's already something