summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-01-20 15:38:58 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-01-20 15:38:58 +0000
commit56fb6fef50070d92d3137bcf912580f607e465b8 (patch)
treecd2e93513cebbef16d9e24a647a487f030f83a53 /clang/lib/Frontend/InitPreprocessor.cpp
parent94b999b9df15661742fdce96e14ea694f3b8f9a5 (diff)
downloadbcm5719-llvm-56fb6fef50070d92d3137bcf912580f607e465b8.tar.gz
bcm5719-llvm-56fb6fef50070d92d3137bcf912580f607e465b8.zip
[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
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud