llvm-project/clang/test/CXX/special/class.dtor
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
..
p2-0x.cpp
p2.cpp
p3-0x.cpp Cleanup the handling of noinline function attributes, -fno-inline, 2016-12-23 01:24:49 +00:00
p3.cpp
p5-0x.cpp When diagnosing that a defaulted function is ill-formed because it would be 2016-10-31 18:18:29 +00:00
p9.cpp When diagnosing that a defaulted function is ill-formed because it would be 2016-10-31 18:18:29 +00:00
p10-0x.cpp [Sema] Improve the error diagnostic for dot destructor calls on pointer objects 2017-01-20 15:38:58 +00:00