[PATCH] D26768: [analyzer] Improve VirtualCallChecker diagnostics and move to optin package.

Devin Coughlin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 9 16:58:16 PST 2016


dcoughlin retitled this revision from "[analyzer] Improve VirtualCallChecker diagnostics" to "[analyzer] Improve VirtualCallChecker diagnostics and move to optin package.".
dcoughlin updated the summary for this revision.
dcoughlin updated this revision to Diff 80979.
dcoughlin added a comment.

Move the checker to the optin package. The checker will be off by default but supported. Projects that are interested in adopting the rule of 'no virtual calls in constructors/destructors' can turn this checker on explicitly.


https://reviews.llvm.org/D26768

Files:
  include/clang/StaticAnalyzer/Checkers/Checkers.td
  lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
  test/Analysis/virtualcall.cpp
  test/Analysis/virtualcall.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26768.80979.patch
Type: text/x-patch
Size: 12640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161210/6e886bdc/attachment.bin>


More information about the cfe-commits mailing list