reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
4806 if (Param->hasUnparsedDefaultArg()) { 4810 Diag(UnparsedDefaultArgLocs[Param], 4815 if (Param->hasUninstantiatedDefaultArg()) { 4816 Expr *UninstExpr = Param->getUninstantiatedDefaultArg(); 4819 *this, ExpressionEvaluationContext::PotentiallyEvaluated, Param); 4841 InstantiatingTemplate Inst(*this, CallLoc, Param, 4846 Diag(Param->getBeginLoc(), diag::err_recursive_default_argument) << FD; 4847 Param->setInvalidDecl(); 4869 = InitializedEntity::InitializeParameter(Context, Param); 4871 Param->getLocation(), 4881 ActOnFinishFullExpr(Result.getAs<Expr>(), Param->getOuterLocStart(), 4887 Param->setDefaultArg(Result.getAs<Expr>()); 4889 L->DefaultArgumentInstantiated(Param); 4894 if (!Param->hasInit()) { 4895 Diag(Param->getBeginLoc(), diag::err_recursive_default_argument) << FD; 4896 Param->setInvalidDecl(); 4907 if (auto Init = dyn_cast<ExprWithCleanups>(Param->getInit())) { 4923 *this, ExpressionEvaluationContext::PotentiallyEvaluated, Param); 4924 MarkDeclarationsReferencedInExpr(Param->getDefaultArg(),