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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to