Searched refs:InConstantContext (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | ConstantEmitter.h | 41 bool InConstantContext = false; variable 70 bool isInConstantContext() const { return InConstantContext; } in isInConstantContext() 71 void setInConstantContext(bool var) { InConstantContext = var; } in setInConstantContext()
|
H A D | CGExprConstant.cpp | 1785 InConstantContext = D.hasConstantInitialization(); in tryEmitPrivateForVarInit() 1941 Success = E->EvaluateAsRValue(Result, CGM.getContext(), InConstantContext); in tryEmitPrivate()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpState.h | 77 bool inConstantContext() const { return Parent.InConstantContext; } in inConstantContext()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 2673 if (Info.InConstantContext) in checkFloatingPointResult() 5394 if (!Info.InConstantContext) in EvaluateStmt() 12587 if (Info.InConstantContext || Arg->HasSideEffects(Info.Ctx)) { in VisitBuiltinCallExpr() 12599 if (Info.InConstantContext && !Info.CheckingPotentialConstantExpression && in VisitBuiltinCallExpr() 12614 return Success(Info.InConstantContext, E); in VisitBuiltinCallExpr() 13627 if (!Info.InConstantContext && in EvaluateComparisonBinaryOperator() 14118 if (Info.InConstantContext) in VisitUnaryExprOrTypeTraitExpr() 14366 if (Info.Ctx.getLangOpts().CPlusPlus && Info.InConstantContext && in VisitCastExpr() 15977 bool InConstantContext) const { in EvaluateAsRValue() 15982 Info.InConstantContext = InConstantContext; in EvaluateAsRValue() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 9475 bool InConstantContext, bool Approximate) { in GetExprRange() argument 9480 if (E->EvaluateAsRValue(result, C, InConstantContext)) in GetExprRange() 9488 return GetExprRange(C, CE->getSubExpr(), MaxWidth, InConstantContext, in GetExprRange() 9502 InConstantContext, Approximate); in GetExprRange() 9520 MaxWidth, InConstantContext, Approximate); in GetExprRange() 9528 : GetExprRange(C, E, MaxWidth, InConstantContext, Approximate); in GetExprRange() 9532 : GetExprRange(C, E, MaxWidth, InConstantContext, Approximate); in GetExprRange() 9570 return GetExprRange(C, BO->getRHS(), MaxWidth, InConstantContext, in GetExprRange() 9603 IntRange L = GetExprRange(C, BO->getLHS(), MaxWidth, InConstantContext, in GetExprRange() 9623 return GetExprRange(C, BO->getRHS(), MaxWidth, InConstantContext, in GetExprRange() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Expr.h | 658 bool InConstantContext = false) const; 665 bool InConstantContext = false) const; 678 bool InConstantContext = false) const; 685 bool InConstantContext = false) const; 691 bool InConstantContext = false) const; 728 bool InConstantContext = false) const;
|