Home
last modified time | relevance | path

Searched refs:InConstantContext (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DConstantEmitter.h41 bool InConstantContext = false; variable
H A DCGExprConstant.cpp1656 InConstantContext = D.hasConstantInitialization(); in tryEmitPrivateForVarInit()
1755 Success = E->EvaluateAsRValue(Result, CGM.getContext(), InConstantContext); in tryEmitPrivate()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Denable_if.cpp518 namespace InConstantContext { namespace
522 InConstantContext::foo("abc"); in test()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp922 bool InConstantContext; member in __anon7a1fdcea0311::EvalInfo
2573 if (Info.InConstantContext) in checkFloatingPointResult()
14990 Info.InConstantContext = InConstantContext; in EvaluateAsRValue()
15009 Info.InConstantContext = InConstantContext; in EvaluateAsInt()
15019 Info.InConstantContext = InConstantContext; in EvaluateAsFixedPoint()
15048 Info.InConstantContext = InConstantContext; in EvaluateAsLValue()
15093 Info.InConstantContext = true; in EvaluateAsConstantExpr()
15234 Info.InConstantContext = true; in EvaluateKnownConstInt()
15252 Info.InConstantContext = true; in EvaluateKnownConstIntCheckOverflow()
15327 Info.InConstantContext = true; in CheckEvalInICE()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExpr.h628 bool InConstantContext = false) const;
635 bool InConstantContext = false) const;
648 bool InConstantContext = false) const;
655 bool InConstantContext = false) const;
661 bool InConstantContext = false) const;
698 bool InConstantContext = false) const;
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp12184 bool InConstantContext, bool Approximate) { in GetExprRange() argument
12189 if (E->EvaluateAsRValue(result, C, InConstantContext)) in GetExprRange()
12197 return GetExprRange(C, CE->getSubExpr(), MaxWidth, InConstantContext, in GetExprRange()
12211 InConstantContext, Approximate); in GetExprRange()
12229 MaxWidth, InConstantContext, Approximate); in GetExprRange()
12279 return GetExprRange(C, BO->getRHS(), MaxWidth, InConstantContext, in GetExprRange()
12333 return GetExprRange(C, BO->getRHS(), MaxWidth, InConstantContext, in GetExprRange()
12358 IntRange L = GetExprRange(C, BO->getLHS(), opWidth, InConstantContext, in GetExprRange()
12375 IntRange R = GetExprRange(C, BO->getRHS(), opWidth, InConstantContext, in GetExprRange()
12416 return GetExprRange(C, UO->getSubExpr(), MaxWidth, InConstantContext, in GetExprRange()
[all …]