Home
last modified time | relevance | path

Searched refs:isConsteval (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DSemaDeclCXX.cpp1679 FD->isConsteval())) in CheckConstexprParameterTypes()
1691 FD->isConsteval())) in CheckConstexprReturnType()
1926 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval(); in CheckConstexprDeclStmt()
2139 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval(); in CheckConstexprFunctionStmt()
2291 << Dcl->isConsteval(); in CheckConstexprFunctionBody()
2343 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval(); in CheckConstexprFunctionBody()
6695 MD->isConsteval() ? diag::err_consteval_override in CheckCompletedCXXClass()
6698 return MD->isConsteval() != V->isConsteval(); in CheckCompletedCXXClass()
7369 Diag(MD->getBeginLoc(), MD->isConsteval() in CheckExplicitlyDefaultedSpecialMember()
7382 MD->setConstexprKind(Constexpr ? (MD->isConsteval() in CheckExplicitlyDefaultedSpecialMember()
[all …]
DSemaCoroutine.cpp240 DiagInvalid(FD->isConsteval() ? DiagConsteval : DiagConstexpr); in isValidCoroutineContext()
DSemaLambda.cpp1240 LSI->CallOperator->isConsteval() in ActOnStartOfLambdaDefinition()
DSemaStmt.cpp3816 << FD << FD->isConsteval(); in BuildReturnStmt()
DSemaDecl.cpp10202 << (NewFD->isConsteval() ? ConstevalFuncs : ConstexprFuncs); in areMultiversionVariantFunctionsCompatible()
11017 << FD->isConsteval() in CheckMain()
14022 FD->isConsteval() ? ExpressionEvaluationContext::ConstantEvaluated in ActOnStartOfFunctionDef()
DSemaExpr.cpp16323 if (!E.isUsable() || !Decl || !Decl->isConsteval() || isConstantEvaluated() || in CheckForImmediateInvocation()
16366 assert(FD->isConsteval()); in EvaluateAndDiagnoseImmediateInvocation()
18310 if (!isConstantEvaluated() && FD->isConsteval() && in MarkDeclRefReferenced()
DSemaOpenMP.cpp5929 if (UDecl->isConsteval() && !IsConsteval) in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
6339 << (NewFD->isConsteval() ? ConstevalFuncs : ConstexprFuncs); in checkOpenMPDeclareVariantFunction()
/external/llvm-project/clang/lib/AST/
DDeclPrinter.cpp616 if (D->isConsteval()) Out << "consteval "; in VisitFunctionDecl()
DTextNodeDumper.cpp283 if (FD->isConsteval()) in Visit()
DVTableBuilder.cpp2261 return MD->isVirtual() && !MD->isConsteval(); in hasVtableSlot()
DExprConstant.cpp2154 if (FD->isConsteval()) { in CheckLValueConstantExpression()
2284 if (FD->isConsteval()) { in CheckMemberPointerConstantExpression()
/external/llvm-project/clang/include/clang/AST/
DDecl.h2244 bool isConsteval() const { in isConsteval() function
/external/llvm-project/clang/lib/CodeGen/
DCodeGenModule.cpp3506 assert(!cast<FunctionDecl>(GD.getDecl())->isConsteval() && in GetAddrOfFunction()
5523 if (FD->isConsteval()) in EmitTopLevelDecl()