Skip to content
Unverified Commit 1908d4cd authored by Timm Baeder's avatar Timm Baeder Committed by GitHub
Browse files

[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.
parent c8c9af15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment