Home
last modified time | relevance | path

Searched refs:isConstantEvaluated (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DSemaSYCL.cpp42 if (isUnevaluatedContext() || isConstantEvaluated()) in checkSYCLDeviceFunction()
DSemaChecking.cpp598 isConstantEvaluated()) in checkFortifiedBuiltinMemoryFunction()
2275 if (isConstantEvaluated()) in CheckARMCoprocessorImmediate()
4359 if (S.isConstantEvaluated()) in CheckNonNullArguments()
6400 if (isConstantEvaluated()) in SemaBuiltinConstantArgRange()
7073 if (S.isConstantEvaluated()) in checkFormatStringExpr()
7105 S.isConstantEvaluated())) { in checkFormatStringExpr()
7326 LResult, S.Context, Expr::SE_NoSideEffects, S.isConstantEvaluated()); in checkFormatStringExpr()
7328 RResult, S.Context, Expr::SE_NoSideEffects, S.isConstantEvaluated()); in checkFormatStringExpr()
7356 S.isConstantEvaluated())) { in checkFormatStringExpr()
11112 S.Context, Other, S.isConstantEvaluated(), /*Approximate*/ false); in CheckTautologicalComparison()
[all …]
DSemaCUDA.cpp705 if (ExprEvalCtx.isUnevaluated() || ExprEvalCtx.isConstantEvaluated()) in CheckCUDACall()
DSemaExpr.cpp16323 if (!E.isUsable() || !Decl || !Decl->isConsteval() || isConstantEvaluated() || in CheckForImmediateInvocation()
16509 (Rec.isConstantEvaluated() && !getLangOpts().CPlusPlus17)) { in PopExpressionEvaluationContext()
16516 } else if (Rec.isConstantEvaluated() && !getLangOpts().CPlusPlus17) { in PopExpressionEvaluationContext()
16548 if (Rec.isUnevaluated() || Rec.isConstantEvaluated()) { in PopExpressionEvaluationContext()
18310 if (!isConstantEvaluated() && FD->isConsteval() && in MarkDeclRefReferenced()
/external/llvm-project/clang/include/clang/Sema/
DSema.h919 bool isConstantEvaluated() { in isConstantEvaluated() function
920 return ExprEvalContexts.back().isConstantEvaluated() || in isConstantEvaluated()
1194 bool isConstantEvaluated() const { in isConstantEvaluated() function