diff options
Diffstat (limited to 'clang-tools-extra/docs/ReleaseNotes.rst')
-rw-r--r-- | clang-tools-extra/docs/ReleaseNotes.rst | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst index c75d9ca..2de2818 100644 --- a/clang-tools-extra/docs/ReleaseNotes.rst +++ b/clang-tools-extra/docs/ReleaseNotes.rst @@ -101,9 +101,19 @@ Improvements to clang-query Improvements to clang-tidy -------------------------- +- The :program:`run-clang-tidy.py` and :program:`clang-tidy-diff.py` scripts + now run checks in parallel by default using all available hardware threads. + Both scripts display the number of threads being used in their output. + New checks ^^^^^^^^^^ +- New :doc:`llvm-mlir-op-builder + <clang-tidy/checks/llvm/use-new-mlir-op-builder>` check. + + Checks for uses of MLIR's old/to be deprecated ``OpBuilder::create<T>`` form + and suggests using ``T::create`` instead. + New check aliases ^^^^^^^^^^^^^^^^^ @@ -114,6 +124,10 @@ Changes in existing checks <clang-tidy/checks/bugprone/infinite-loop>` check by adding detection for variables introduced by structured bindings. +- Improved :doc:`bugprone-signed-char-misuse + <clang-tidy/checks/bugprone/signed-char-misuse>` check by fixing + false positives on C23 enums with the fixed underlying type of signed char. + - Improved :doc:`bugprone-unhandled-self-assignment <clang-tidy/checks/bugprone/unhandled-self-assignment>` check by adding an additional matcher that generalizes the copy-and-swap idiom pattern @@ -122,10 +136,28 @@ Changes in existing checks - Improved :doc:`misc-header-include-cycle <clang-tidy/checks/misc/header-include-cycle>` check performance. +- Improved :doc:`modernize-use-designated-initializers + <clang-tidy/checks/modernize/use-designated-initializers>` check to + suggest using designated initializers for aliased aggregate types. + +- Improved :doc:`modernize-use-std-format + <clang-tidy/checks/modernize/use-std-format>` check to correctly match + when the format string is converted to a different type by an implicit + constructor call. + +- Improved :doc:`modernize-use-std-print + <clang-tidy/checks/modernize/use-std-print>` check to correctly match + when the format string is converted to a different type by an implicit + constructor call. + - Improved :doc:`portability-template-virtual-member-function <clang-tidy/checks/portability/template-virtual-member-function>` check to avoid false positives on pure virtual member functions. +- Improved :doc:`readability-qualified-auto + <clang-tidy/checks/readability/qualified-auto>` check by adding the option + `IgnoreAliasing`, that allows not looking at underlying types of type aliases. + Removed checks ^^^^^^^^^^^^^^ @@ -152,4 +184,3 @@ Improvements to pp-trace Clang-tidy Visual Studio plugin ------------------------------- - |