forked from OSchip/llvm-project
parent
07a493e263
commit
038aefdec5
|
@ -71,16 +71,15 @@ Improvements to clang-tidy
|
|||
<http://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines-no-malloc.html>`_ check
|
||||
|
||||
Allow custom memory management functions to be considered as well.
|
||||
|
||||
|
||||
- New `misc-forwarding-reference-overload
|
||||
<http://clang.llvm.org/extra/clang-tidy/checks/misc-forwarding-reference-overload.html>`_ check
|
||||
|
||||
Finds perfect forwarding constructors that can unintentionally hide copy or move constructors.
|
||||
|
||||
- New `misc-lambda-function-name
|
||||
<http://clang.llvm.org/extra/clang-tidy/checks/misc-lambda-function-name.html>`_ check
|
||||
- New `misc-lambda-function-name <http://clang.llvm.org/extra/clang-tidy/checks/misc-lambda-function-name.html>`_ check
|
||||
|
||||
Finds uses of ``__func__`` or ``__FUNCTION__`` inside lambdas.
|
||||
Finds uses of ``__func__`` or ``__FUNCTION__`` inside lambdas.
|
||||
|
||||
- New `modernize-replace-random-shuffle
|
||||
<http://clang.llvm.org/extra/clang-tidy/checks/modernize-replace-random-shuffle.html>`_ check
|
||||
|
@ -92,7 +91,7 @@ Improvements to clang-tidy
|
|||
|
||||
Finds and replaces explicit calls to the constructor in a return statement by
|
||||
a braced initializer list so that the return type is not needlessly repeated.
|
||||
|
||||
|
||||
- Improved `modernize-use-emplace
|
||||
<http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-emplace.html>`_ check
|
||||
|
||||
|
@ -106,7 +105,7 @@ Improvements to clang-tidy
|
|||
|
||||
Finds possible inefficient vector operations in for loops that may cause
|
||||
unnecessary memory reallocations.
|
||||
|
||||
|
||||
- Added `ParameterThreshold` to `readability-function-size
|
||||
<http://clang.llvm.org/extra/clang-tidy/checks/readability-function-size.html>`_ check
|
||||
|
||||
|
@ -116,10 +115,10 @@ Improvements to clang-tidy
|
|||
<http://clang.llvm.org/extra/clang-tidy/checks/readability-misleading-indentation.html>`_ check
|
||||
|
||||
Finds misleading indentation where braces should be introduced or the code should be reformatted.
|
||||
|
||||
|
||||
- Support clang-formatting of the code around applied fixes (``-format-style``
|
||||
command-line option).
|
||||
|
||||
|
||||
- New `hicpp` module
|
||||
|
||||
Adds checks that implement the `High Integrity C++ Coding Standard <http://www.codingstandard.com/section/index/>`_ and other safety
|
||||
|
|
Loading…
Reference in New Issue