File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ Only checks public, non-templated methods.
12
12
The below example is bugprone because consumers of the ``Derived `` class will
13
13
expect the ``reset `` method to do the work of ``Base::reset() `` in addition to extra
14
14
work required to reset the ``Derived `` class. Common fixes include:
15
+
15
16
- Making the ``reset `` method polymorphic
16
17
- Re-naming ``Derived::reset `` if it's not meant to intersect with ``Base::reset ``
17
18
- Using ``using Base::reset `` to change the access specifier
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ Clang-Tidy Checks
110
110
:doc: `bugprone-lambda-function-name <bugprone/lambda-function-name >`,
111
111
:doc: `bugprone-macro-parentheses <bugprone/macro-parentheses >`, "Yes"
112
112
: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 >`
114
114
:doc: `bugprone-misleading-setter-of-reference <bugprone/misleading-setter-of-reference >`,
115
115
:doc: `bugprone-misplaced-operator-in-strlen-in-alloc <bugprone/misplaced-operator-in-strlen-in-alloc >`, "Yes"
116
116
:doc: `bugprone-misplaced-pointer-arithmetic-in-alloc <bugprone/misplaced-pointer-arithmetic-in-alloc >`, "Yes"
You can’t perform that action at this time.
0 commit comments