Skip to content

Commit e91d16f

Browse files
committed
fixup! [clang-tidy] Added check to detect redundant inline keyword
Fixed Documentation
1 parent 89281cc commit e91d16f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ New checks
193193
class based on the range of its enumerators.
194194

195195
- New :doc:`readability-redundant-inline-specifier
196-
<clang-tidy/checks/readability/readability-redundant-inline-specifier>` check.
196+
<clang-tidy/checks/readability/redundant-inline-specifier>` check.
197197

198198
Detects redundant ``inline`` specifiers on function and variable declarations.
199199

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ Clang-Tidy Checks
348348
:doc:`readability-identifier-length <readability/identifier-length>`,
349349
:doc:`readability-identifier-naming <readability/identifier-naming>`, "Yes"
350350
:doc:`readability-implicit-bool-conversion <readability/implicit-bool-conversion>`, "Yes"
351-
:doc:`readability-redundant-inline-specifier <readability/readability-redundant-inline-specifier>`, "Yes"
351+
:doc:`readability-redundant-inline-specifier <readability/redundant-inline-specifier>`, "Yes"
352352
:doc:`readability-inconsistent-declaration-parameter-name <readability/inconsistent-declaration-parameter-name>`, "Yes"
353353
:doc:`readability-isolate-declaration <readability/isolate-declaration>`, "Yes"
354354
:doc:`readability-magic-numbers <readability/magic-numbers>`,

clang-tools-extra/docs/clang-tidy/checks/readability/redundant-inline-specifier.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. title:: clang-tidy - readability-redundant-inline-specifier
22

33
readability-redundant-inline-specifier
4-
=================
4+
======================================
55

66
Checks for instances of the `inline` keyword in code where it is redundant
77
and recommends its removal.
@@ -16,6 +16,7 @@ In the example abvove the keyword `inline` is redundant since constexpr
1616
functions are implicitly inlined
1717

1818
.. code-block:: c++
19+
1920
class MyClass {
2021
inline void myMethod() {}
2122
};

0 commit comments

Comments
 (0)