Extra Clang Tools 6 documentation

clang-tidy - fuchsia-virtual-inheritance

«  fuchsia-overloaded-operator   ::   Contents   ::   google-build-explicit-make-pair  »

fuchsia-virtual-inheritance

Warns if classes are defined with virtual inheritance.

For example, classes should not be defined with virtual inheritance:

class B : public virtual A {};   // warning

See the features disallowed in Fuchsia at https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md

«  fuchsia-overloaded-operator   ::   Contents   ::   google-build-explicit-make-pair  »