Searched refs:InConstantContext (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/clang/lib/CodeGen/ |
D | ConstantEmitter.h | 41 bool InConstantContext = false; variable
|
D | CGExprConstant.cpp | 1626 InConstantContext = D.hasConstantInitialization(); in tryEmitPrivateForVarInit() 1723 Success = E->EvaluateAsRValue(Result, CGM.getContext(), InConstantContext); in tryEmitPrivate()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | enable_if.cpp | 518 namespace InConstantContext { namespace 522 InConstantContext::foo("abc"); in test()
|
/external/llvm-project/clang/lib/AST/ |
D | ExprConstant.cpp | 919 bool InConstantContext; member in __anon3f12a8aa0311::EvalInfo 973 HasFoldFailureDiagnostic(false), InConstantContext(false), in EvalInfo() 2553 if (Info.InConstantContext) in checkFloatingPointResult() 2622 if (!Info.InConstantContext && St != llvm::APFloatBase::opOK && in HandleIntToFloatCast() 11615 if (Info.InConstantContext || Arg->HasSideEffects(Info.Ctx)) { in VisitBuiltinCallExpr() 11627 if (Info.InConstantContext && !Info.CheckingPotentialConstantExpression && in VisitBuiltinCallExpr() 11641 return Success(Info.InConstantContext, E); in VisitBuiltinCallExpr() 12586 if (!Info.InConstantContext && in EvaluateComparisonBinaryOperator() 14708 bool InConstantContext) const { in EvaluateAsRValue() 14712 Info.InConstantContext = InConstantContext; in EvaluateAsRValue() [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | Expr.h | 624 bool InConstantContext = false) const; 631 bool InConstantContext = false) const; 644 bool InConstantContext = false) const; 651 bool InConstantContext = false) const; 657 bool InConstantContext = false) const; 694 bool InConstantContext = false) const;
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaChecking.cpp | 10615 bool InConstantContext, bool Approximate) { in GetExprRange() argument 10620 if (E->EvaluateAsRValue(result, C, InConstantContext)) in GetExprRange() 10628 return GetExprRange(C, CE->getSubExpr(), MaxWidth, InConstantContext, in GetExprRange() 10642 InConstantContext, Approximate); in GetExprRange() 10660 MaxWidth, InConstantContext, Approximate); in GetExprRange() 10668 : GetExprRange(C, E, MaxWidth, InConstantContext, Approximate); in GetExprRange() 10672 : GetExprRange(C, E, MaxWidth, InConstantContext, Approximate); in GetExprRange() 10710 return GetExprRange(C, BO->getRHS(), MaxWidth, InConstantContext, in GetExprRange() 10743 IntRange L = GetExprRange(C, BO->getLHS(), MaxWidth, InConstantContext, in GetExprRange() 10764 return GetExprRange(C, BO->getRHS(), MaxWidth, InConstantContext, in GetExprRange() [all …]
|