Lines Matching refs:NewFD
1720 bool Sema::CheckConstexprFunctionDefinition(const FunctionDecl *NewFD, in CheckConstexprFunctionDefinition() argument
1722 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewFD); in CheckConstexprFunctionDefinition()
1736 Diag(NewFD->getLocation(), diag::err_constexpr_virtual_base) in CheckConstexprFunctionDefinition()
1737 << isa<CXXConstructorDecl>(NewFD) in CheckConstexprFunctionDefinition()
1746 if (!isa<CXXConstructorDecl>(NewFD)) { in CheckConstexprFunctionDefinition()
1751 const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(NewFD); in CheckConstexprFunctionDefinition()
1776 if (!CheckConstexprReturnType(*this, NewFD, Kind)) in CheckConstexprFunctionDefinition()
1780 if (auto *Dtor = dyn_cast<CXXDestructorDecl>(NewFD)) { in CheckConstexprFunctionDefinition()
1793 if (!CheckConstexprParameterTypes(*this, NewFD, Kind)) in CheckConstexprFunctionDefinition()
1796 Stmt *Body = NewFD->getBody(); in CheckConstexprFunctionDefinition()
1799 return CheckConstexprFunctionBody(*this, NewFD, Body, Kind); in CheckConstexprFunctionDefinition()