hanchenye-llvm-project/clang/test/CXX/special
Alex Lorenz 56fb6fef50 [Sema] Improve the error diagnostic for dot destructor calls on pointer objects
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
2017-01-20 15:38:58 +00:00
..
class.conv/class.conv.ctor
class.copy Remove custom handling of array copies in lambda by-value array capture and 2016-12-14 00:03:17 +00:00
class.ctor
class.dtor [Sema] Improve the error diagnostic for dot destructor calls on pointer objects 2017-01-20 15:38:58 +00:00
class.free
class.inhctor PR31606: Generalize our tentative DR resolution for inheriting copy/move 2017-01-13 20:46:54 +00:00
class.init Fix handling of constructor inherited through multiple levels of virtual base class. 2016-10-28 20:20:58 +00:00
class.temporary