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.
1212The below example is bugprone because consumers of the ``Derived `` class will
1313expect the ``reset `` method to do the work of ``Base::reset() `` in addition to extra
1414work 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
Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments