File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ New checks
193
193
class based on the range of its enumerators.
194
194
195
195
- 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.
197
197
198
198
Detects redundant ``inline `` specifiers on function and variable declarations.
199
199
Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ Clang-Tidy Checks
348
348
:doc: `readability-identifier-length <readability/identifier-length >`,
349
349
:doc: `readability-identifier-naming <readability/identifier-naming >`, "Yes"
350
350
: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"
352
352
:doc: `readability-inconsistent-declaration-parameter-name <readability/inconsistent-declaration-parameter-name >`, "Yes"
353
353
:doc: `readability-isolate-declaration <readability/isolate-declaration >`, "Yes"
354
354
:doc: `readability-magic-numbers <readability/magic-numbers >`,
Original file line number Diff line number Diff line change 1
1
.. title :: clang-tidy - readability-redundant-inline-specifier
2
2
3
3
readability-redundant-inline-specifier
4
- =================
4
+ ======================================
5
5
6
6
Checks for instances of the `inline ` keyword in code where it is redundant
7
7
and recommends its removal.
@@ -16,6 +16,7 @@ In the example abvove the keyword `inline` is redundant since constexpr
16
16
functions are implicitly inlined
17
17
18
18
.. code-block :: c++
19
+
19
20
class MyClass {
20
21
inline void myMethod() {}
21
22
};
You can’t perform that action at this time.
0 commit comments