[PATCH] D36915: [Sema] Diagnose local variables and parameters captured by lambda and block expressions in a default argument

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 28 13:47:46 PDT 2017

ahatanak added a comment.

clang currently rejects "void foo(int = a);"  and so does gcc.

I'm trying to search the defect reports, but it looks like the c++ standard's site is currently unreachable.


More information about the cfe-commits mailing list