blob: f73a49b2b051d7c9dba72cda9b2fb350d793eb5f [file] [log] [blame]
.. title:: clang-tidy - fuchsia-virtual-inheritance
fuchsia-virtual-inheritance
===========================
Warns if classes are defined with virtual inheritance.
For example, classes should not be defined with virtual inheritance:
.. code-block:: c++
class B : public virtual A {}; // warning
See the features disallowed in Fuchsia at https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md