[PATCH] D53860: [SemaCXX] Don't check base's dtor is accessible

Brian Gesiak via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 29 22:00:07 PDT 2018


modocache added a comment.

Here's a compiler explorer link demonstrating that GCC 8.2 and Clang 7.0.0 compile the example code, but Clang trunk emits an error: https://godbolt.org/z/l3baI_

I realize the proposed "fix" here isn't likely to be exactly correct, but I thought it could be a good starting point. I'd also like to confirm that my example is, in fact, valid C++ code.

Any and all reviews appreciated!


Repository:
  rC Clang

https://reviews.llvm.org/D53860





More information about the cfe-commits mailing list