[PATCH] D57111: Make Clang not crash on calls to destructors on incomplete pointer types

Roman Zhikharevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 23 12:08:11 PST 2019


rzhikharevich added a comment.

In D57111#1368224 <https://reviews.llvm.org/D57111#1368224>, @riccibruno wrote:

> Upload patches with full context please.
>  Also the diagnostic seems to be wrong ?


I don't think so, the valid code would be 'p->~C()'.

> And finally is there a bug report for this ?

No. Should I file one?


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57111/new/

https://reviews.llvm.org/D57111





More information about the cfe-commits mailing list