[clang][Interp] Reject static lambdas with captures (#74718)
Static lambdas cannot have captures. They may still end up in the constant evaluator though. They've been diagnosted appropriately before, so just reject them here. This is similar to #74661, but for the new constant expression interpreter.
Loading
Please sign in to comment