Skip to content

Commit c376c45

Browse files
author
Tom James
committed
Fix the documentation build
1 parent f91f894 commit c376c45

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

clang-tools-extra/docs/clang-tidy/checks/bugprone/method-hiding.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Only checks public, non-templated methods.
1212
The below example is bugprone because consumers of the ``Derived`` class will
1313
expect the ``reset`` method to do the work of ``Base::reset()`` in addition to extra
1414
work required to reset the ``Derived`` class. Common fixes include:
15+
1516
- Making the ``reset`` method polymorphic
1617
- Re-naming ``Derived::reset`` if it's not meant to intersect with ``Base::reset``
1718
- Using ``using Base::reset`` to change the access specifier

clang-tools-extra/docs/clang-tidy/checks/list.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Clang-Tidy Checks
110110
:doc:`bugprone-lambda-function-name <bugprone/lambda-function-name>`,
111111
:doc:`bugprone-macro-parentheses <bugprone/macro-parentheses>`, "Yes"
112112
:doc:`bugprone-macro-repeated-side-effects <bugprone/macro-repeated-side-effects>`,
113-
:doc:`bugprone-method-hiding <bugprone/method-shadowing>`
113+
:doc:`bugprone-method-hiding <bugprone/method-hiding>`
114114
:doc:`bugprone-misleading-setter-of-reference <bugprone/misleading-setter-of-reference>`,
115115
:doc:`bugprone-misplaced-operator-in-strlen-in-alloc <bugprone/misplaced-operator-in-strlen-in-alloc>`, "Yes"
116116
:doc:`bugprone-misplaced-pointer-arithmetic-in-alloc <bugprone/misplaced-pointer-arithmetic-in-alloc>`, "Yes"

0 commit comments

Comments
 (0)