PotentiallyEvaluatedContext in a ImmediateFunctionContext.
Body of `consteval` should be in an `ImmediateFunctionContext` instead of `ConstantEvaluated`. PotentiallyEvaluated expressions in Immediate functions are in a `ImmediateFunctionContext` as well. Fixes https://github.com/llvm/llvm-project/issues/51182 Original divergence: https://godbolt.org/z/vadGT5j6f Differential Revision: https://reviews.llvm.org/D132659
Loading
Please sign in to comment