Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DJumpDiagnostics.cpp380 if (!(IS->isConstexpr() || IS->isConsteval() || in BuildScopeInformation()
387 else if (IS->isConsteval()) in BuildScopeInformation()
397 if (!IS->isConsteval()) in BuildScopeInformation()
H A DSemaDeclCXX.cpp1728 FD->isConsteval())) in CheckConstexprParameterTypes()
1740 FD->isConsteval())) in CheckConstexprReturnType()
1987 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval(); in CheckConstexprDeclStmt()
2217 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval(); in CheckConstexprFunctionStmt()
2376 << Dcl->isConsteval(); in CheckConstexprFunctionBody()
2428 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval(); in CheckConstexprFunctionBody()
6923 MD->isConsteval() ? diag::err_consteval_override in CheckCompletedCXXClass()
6926 return MD->isConsteval() != V->isConsteval(); in CheckCompletedCXXClass()
7620 Diag(MD->getBeginLoc(), MD->isConsteval() in CheckExplicitlyDefaultedSpecialMember()
7633 MD->setConstexprKind(Constexpr ? (MD->isConsteval() in CheckExplicitlyDefaultedSpecialMember()
[all …]
H A DSemaCoroutine.cpp235 DiagInvalid(FD->isConsteval() ? DiagConsteval : DiagConstexpr); in isValidCoroutineContext()
H A DSemaLambda.cpp1282 LSI->CallOperator->isConsteval() in ActOnStartOfLambdaDefinition()
H A DSemaStmt.cpp939 if (FD && FD->isConsteval()) in ActOnIfStmt()
4111 << FD << FD->isConsteval(); in BuildReturnStmt()
H A DSemaExpr.cpp5930 HasImmediateCalls |= FD->isConsteval(); in VisitCallExpr()
17771 !Decl->isConsteval() || isConstantEvaluated() || in CheckForImmediateInvocation()
17819 assert(FD && FD->isConsteval()); in EvaluateAndDiagnoseImmediateInvocation()
20003 !isCheckingDefaultArgumentOrInitializer() && FD->isConsteval() && in MarkDeclRefReferenced()
H A DSemaDecl.cpp11026 << (NewFD->isConsteval() ? ConstevalFuncs : ConstexprFuncs); in areMultiversionVariantFunctionsCompatible()
11972 << FD->isConsteval() in CheckMain()
15126 FD->isConsteval() ? ExpressionEvaluationContext::ImmediateFunctionContext in ActOnStartOfFunctionDef()
H A DSemaOpenMP.cpp7180 if (UDecl->isConsteval() && !IsConsteval) in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
7643 << (NewFD->isConsteval() ? ConstevalFuncs : ConstexprFuncs); in checkOpenMPDeclareVariantFunction()
H A DTreeTransform.h7586 if (!S->isConsteval()) { in TransformIfStmt()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp1383 if (!S->isConsteval()) in VisitIfStmt()
1389 if (!S->isConsteval()) { in VisitIfStmt()
1426 if (!S->isConsteval()) { in VisitIfStmt()
H A DCodeGenPGO.cpp654 if (S->isConsteval()) { in VisitIfStmt()
H A DCGStmt.cpp766 if (S.isConsteval()) { in EmitIfStmt()
H A DCodeGenModule.cpp4192 assert(!cast<FunctionDecl>(GD.getDecl())->isConsteval() && in GetAddrOfFunction()
6287 if (FD->isConsteval()) in EmitTopLevelDecl()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp408 REGISTER_MATCHER(isConsteval); in RegistryMaps()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DStmt.h2125 bool isConsteval() const { in isConsteval() function
2174 (isConsteval() ? thenOffset() : 0), in children()
2183 (isConsteval() ? thenOffset() : 0), in children()
H A DDecl.h2379 bool isConsteval() const { in isConsteval() function
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DTextNodeDumper.cpp284 if (FD->isConsteval()) in Visit()
960 if (Node->isConsteval()) { in VisitIfStmt()
H A DDeclPrinter.cpp624 if (D->isConsteval()) Out << "consteval "; in VisitFunctionDecl()
H A DJSONNodeDumper.cpp1531 attributeOnlyIfTrue("isConsteval", IS->isConsteval()); in VisitIfStmt()
H A DStmtPrinter.cpp302 if (If->isConsteval()) { in PrintRawIfStmt()
H A DVTableBuilder.cpp2262 return MD->isVirtual() && !MD->isConsteval(); in hasVtableSlot()
H A DExprConstant.cpp2167 if (FD->isConsteval()) { in CheckLValueConstantExpression()
2308 if (FD->isConsteval()) { in CheckMemberPointerConstantExpression()
5275 if (IS->isConsteval()) { in EvaluateStmt()
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5263 AST_POLYMORPHIC_MATCHER(isConsteval, in AST_POLYMORPHIC_MATCHER() argument
5265 return Node.isConsteval(); in AST_POLYMORPHIC_MATCHER()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DCFG.cpp3158 (I->isConsteval() || I->getConditionVariable()) in VisitIfStmt()
3173 if (!I->isConsteval()) in VisitIfStmt()