forked from OSchip/llvm-project
clang-tidy doc: add a note for checkers with an autofix
Summary: Currently, when looking at a checker documentation, we have to go back to the whole list or look at the sources to figure out if an autofix is available or not. Reviewers: alexfh, aaron.ballman Subscribers: wuzish, Eugene.Zelenko, nemanjai, kbarton, arphaman, Charusso, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D77983
This commit is contained in:
parent
f97f92e5b0
commit
dc0f79ea5b
|
@ -40,3 +40,8 @@ Options
|
|||
constructors - no constructor initializers). When the function body is empty,
|
||||
an unused parameter is unlikely to be unnoticed by a human reader, and
|
||||
there's basically no place for a bug to hide.
|
||||
|
||||
Automatic Fixes
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
The check provides suggested fixes. See the documentation above for the details.
|
||||
|
|
|
@ -86,3 +86,8 @@ that accepts 2 arguments. With permissive parameter list, it instead generates
|
|||
which is correct.
|
||||
|
||||
This check requires using C++14 or higher to run.
|
||||
|
||||
Automatic Fixes
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
The check provides suggested fixes. See the documentation above for the details.
|
||||
|
|
|
@ -15,3 +15,8 @@ Deprecated member type Replacement
|
|||
``std::ios_base::streamoff``
|
||||
``std::ios_base::streampos``
|
||||
=================================== ===========================
|
||||
|
||||
Automatic Fixes
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
The check provides suggested fixes. See the documentation above for the details.
|
||||
|
|
|
@ -265,3 +265,8 @@ exclude incorrect diagnostics on OpenMP for loops prior to OpenMP 5.
|
|||
To prevent this check to be applied (and to break) OpenMP for loops but still be
|
||||
applied to non-OpenMP for loops the usage of ``NOLINT`` (see
|
||||
:ref:`clang-tidy-nolint`) on the specific for loops is recommended.
|
||||
|
||||
Automatic Fixes
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
The check provides suggested fixes. See the documentation above for the details.
|
||||
|
|
|
@ -48,3 +48,8 @@ Options
|
|||
|
||||
If set to non-zero, the check will not give warnings inside macros. Default
|
||||
is `1`.
|
||||
|
||||
Automatic Fixes
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
The check provides suggested fixes. See the documentation above for the details.
|
||||
|
|
|
@ -26,3 +26,8 @@ Options
|
|||
|
||||
If set to non-zero, the check will not give warnings inside macros. Default
|
||||
is `1`.
|
||||
|
||||
Automatic Fixes
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
The check provides suggested fixes. See the documentation above for the details.
|
||||
|
|
Loading…
Reference in New Issue