[PATCH] D40813: [clang-tidy] Adding Fuchsia checker for virtual inheritance

Julie Hockett via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 4 16:24:07 PST 2017


juliehockett created this revision.
juliehockett added a project: clang-tools-extra.
Herald added subscribers: xazax.hun, mgorny.

Adds a check to the Fuchsia module to warn if classes are defined or created with virtual inheritance.

See https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md for reference.


https://reviews.llvm.org/D40813

Files:
  clang-tidy/fuchsia/CMakeLists.txt
  clang-tidy/fuchsia/FuchsiaTidyModule.cpp
  clang-tidy/fuchsia/VirtualInheritanceCheck.cpp
  clang-tidy/fuchsia/VirtualInheritanceCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/fuchsia-virtual-inheritance.rst
  docs/clang-tidy/checks/list.rst
  test/clang-tidy/fuchsia-virtual-inheritance.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40813.125447.patch
Type: text/x-patch
Size: 8922 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171205/e57cce4a/attachment-0001.bin>


More information about the cfe-commits mailing list