Loading clang-tools-extra/docs/clang-tidy/checks/readability-redundant-member-init.rst +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ Options within copy constructors, since some compilers issue warnings/errors when base classes are not explicitly intialized in copy constructors. For example, ``gcc`` with ``-Wextra`` or ``-Werror=extra`` issues warning or error ``base class Bar should be explicitly initialized in the copy constructor`` ``base class 'Bar' should be explicitly initialized in the copy constructor`` if ``Bar()`` were removed in the following example: .. code-block:: c++ Loading Loading
clang-tools-extra/docs/clang-tidy/checks/readability-redundant-member-init.rst +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ Options within copy constructors, since some compilers issue warnings/errors when base classes are not explicitly intialized in copy constructors. For example, ``gcc`` with ``-Wextra`` or ``-Werror=extra`` issues warning or error ``base class Bar should be explicitly initialized in the copy constructor`` ``base class 'Bar' should be explicitly initialized in the copy constructor`` if ``Bar()`` were removed in the following example: .. code-block:: c++ Loading