rjmccall accepted this revision. rjmccall added a comment. This revision is now accepted and ready to land.
It makes sense that the BlockDecl's parent DC is the class, although I think it would be even better if we took a page from Swift and make a special DC for initializer expressions. I don't think it makes sense for it to be listed in the DC's list of declarations. Regardless, it's not something you have to fix. Patch LGTM. Repository: rC Clang https://reviews.llvm.org/D49688 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits