forked from OSchip/llvm-project
56fb6fef50
This commit improves the mismatched destructor type error by detecting when the destructor call has used a '.' instead of a '->' on a pointer to the destructed type. The diagnostic now suggests to use '->' instead of '.', and adds a fixit where appropriate. rdar://28766702 Differential Revision: https://reviews.llvm.org/D25817 llvm-svn: 292615 |
||
---|---|---|
.. | ||
class.conv/class.conv.ctor | ||
class.copy | ||
class.ctor | ||
class.dtor | ||
class.free | ||
class.inhctor | ||
class.init | ||
class.temporary |