[cfe-dev] Check virtual calls in ctor or dtor

章磊 ioripolo at gmail.com
Mon Sep 12 06:45:54 PDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110912/415f6289/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VirtualCallinCtorOrDtor.patch
Type: text/x-patch
Size: 6461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110912/415f6289/attachment.bin>


More information about the cfe-dev mailing list