[PATCH] D49688: [Sema] Fix a crash when a BlockExpr appears in a default-member-initializer of a class template

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 23 13:20:04 PDT 2018


rjmccall added a comment.

I honestly don't know why the `BlockDecl` is in the members list in the first place; that seems wrong, for the same reason that we wouldn't (I assume?) consider a lambda's implicit record to be a member.


Repository:
  rC Clang

https://reviews.llvm.org/D49688





More information about the cfe-commits mailing list