[PATCH] D136554: Implement CWG2631

Tom Honermann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 1 08:55:57 PDT 2022


tahonermann added a comment.

> There is a bug with default parameter in blocks so that can't be tested

Block expressions don't actually support default arguments due to the type erasure that is fundamental to how they are implemented. Clang should diagnose default arguments in block expressions but doesn't currently (https://github.com/llvm/llvm-project/issues/58173).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136554/new/

https://reviews.llvm.org/D136554



More information about the cfe-commits mailing list