[PATCH] D25817: [Sema] Improve the error diagnostic for dot destructor calls on pointer objects

Alex Lorenz via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 25 08:43:30 PDT 2016


arphaman updated this revision to Diff 75712.
arphaman added a comment.

The updated patch addresses Richard's comment by making sure the fixit isn't emitted when the destructor call is invalid.


Repository:
  rL LLVM

https://reviews.llvm.org/D25817

Files:
  lib/Sema/SemaExprCXX.cpp
  test/CXX/special/class.dtor/p10-0x.cpp
  test/FixIt/fixit.cpp
  test/FixIt/no-fixit.cpp
  test/SemaCXX/pseudo-destructors.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25817.75712.patch
Type: text/x-patch
Size: 6530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161025/93c26717/attachment-0001.bin>


More information about the cfe-commits mailing list