Lines Matching refs:Definition
4885 const FunctionDecl *Definition,
4889 if (Info.checkingPotentialConstantExpression() && !Definition &&
4908 if (Definition && Definition->isInvalidDecl()) {
4914 if (Definition && Definition->isConstexpr() && Body)
4918 const FunctionDecl *DiagDecl = Definition ? Definition : Declaration;
5536 const CXXConstructorDecl *Definition,
5542 const CXXRecordDecl *RD = Definition->getParent();
5552 CallStackFrame Frame(Info, CallLoc, Definition, &This, ArgValues);
5560 if (Definition->isDelegatingConstructor()) {
5561 CXXConstructorDecl::init_const_iterator I = Definition->init_begin();
5568 return EvaluateStmt(Ret, Info, Definition->getBody()) != ESR_Failed;
5579 if (Definition->isDefaulted() && Definition->isCopyOrMoveConstructor() &&
5580 (Definition->getParent()->isUnion() ||
5581 (Definition->isTrivial() && hasFields(Definition->getParent())))) {
5585 Info, E, Definition->getParamDecl(0)->getType().getNonReferenceType(),
5586 RHS, Result, Definition->getParent()->isUnion());
5624 for (const auto *I : Definition->inits()) {
5728 EvaluateStmt(Ret, Info, Definition->getBody()) != ESR_Failed &&
5734 const CXXConstructorDecl *Definition,
5737 if (!EvaluateArgs(Args, ArgValues, Info, Definition))
5740 return HandleConstructorCall(E, This, ArgValues.data(), Definition,
5831 const FunctionDecl *Definition = nullptr;
5832 const Stmt *Body = DD->getBody(Definition);
5834 if (!CheckConstexprFunction(Info, CallLoc, DD, Definition, Body))
5837 CallStackFrame Frame(Info, CallLoc, Definition, &This, nullptr);
5859 if (EvaluateStmt(Ret, Info, Definition->getBody()) == ESR_Failed)
7017 const FunctionDecl *Definition = nullptr;
7018 Stmt *Body = FD->getBody(Definition);
7020 if (!CheckConstexprFunction(Info, E->getExprLoc(), FD, Definition, Body) ||
7021 !HandleFunctionCall(E->getExprLoc(), Definition, This, Args, Body, Info,
9163 const FunctionDecl *Definition = nullptr;
9164 auto Body = FD->getBody(Definition);
9166 if (!CheckConstexprFunction(Info, E->getExprLoc(), FD, Definition, Body))
9180 cast<CXXConstructorDecl>(Definition), Info,
9195 const FunctionDecl *Definition = nullptr;
9196 auto Body = FD->getBody(Definition);
9198 if (!CheckConstexprFunction(Info, E->getExprLoc(), FD, Definition, Body))
9202 cast<CXXConstructorDecl>(Definition), Info,