[cfe-dev] Check virtual calls in ctor or dtor
kremenek at apple.com
Mon Sep 12 13:36:14 CDT 2011
Do you think this would be better implemented as a compiler warning, instead of a static analysis check?
On Sep 12, 2011, at 6:45 AM, 章磊 wrote:
> Hi Clang,
> The attached patch adds a C++ syntax Checker to clang, it checks whether there is a virtual call in the constructor or destructor. I add a file to svn to implement this checker, because i think there may be some other syntax checkers we could write here.
> I will appreciate it if there are any advice about this patch.
> Best regards!
> Lei Zhang
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
More information about the cfe-dev