rsmith accepted this revision. rsmith added a comment. This revision is now accepted and ready to land.
Thanks. Could you also add something like: struct A {}; struct B : virtual A {}; constexpr A &a = (A&)*(B*)0; to test/SemaCXX/constant-expression-cxx11.cpp to ensure we produce a suitable diagnostic, please? https://reviews.llvm.org/D32675 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits