Files
clang-p2996/clang/lib/AST/Interp/ByteCodeEmitter.cpp
Timm Baeder 1908d4cda6 [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.
2023-12-12 11:08:38 +01:00

8.6 KiB