[cfe-dev] Help needed finding out where sema diagnoses deprecated special functions

Jonathan Coe via cfe-dev cfe-dev at lists.llvm.org
Wed Feb 24 01:24:04 PST 2016


I'm trying to find out where clang finds deprecated compiler-generated
special member functions so I can update a clang tidy check I am working on
to apply the same logic.

http://reviews.llvm.org/D16376

I'm not sure where to start looking. I have some simple test code that
triggers the warning I want but asking LLDB to stop at program entry when
debugging clang won't print out source. I can explicitly print out source
lines but it won't show me which line I'm at. This renders exploration
impossiblel, I fear there's a trick I'm missing.

I've tried searching code for diagnostic text but this seems to happen a
fair way away from diagnosing the issue.

thanks for any help,

Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160224/45c3e8cb/attachment.html>


More information about the cfe-dev mailing list