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 |
||
---|---|---|
.. | ||
p2-0x.cpp | ||
p2.cpp | ||
p3-0x.cpp | ||
p3.cpp | ||
p5-0x.cpp | ||
p9.cpp | ||
p10-0x.cpp |