SuccessChanges

Summary

  1. [clang-tidy] New checker performance-trivially-destructible-check (details)
Commit d36a0333102698a1398971d0717465322b1c5c2c by bikineev
[clang-tidy] New checker performance-trivially-destructible-check
Checks for types which can be made trivially-destructible by removing
out-of-line defaulted destructor declarations.
The check is motivated by the work on C++ garbage collector in Blink
(rendering engine for Chrome), which strives to minimize destructors and
improve runtime of sweeping phase.
In the entire chromium codebase the check hits over 2000 times.
Differential Revision: https://reviews.llvm.org/D69435
The file was modifiedclang-tools-extra/clang-tidy/utils/Matchers.h
The file was addedclang-tools-extra/test/clang-tidy/checkers/performance-trivially-destructible.cpp
The file was modifiedclang-tools-extra/clang-tidy/performance/PerformanceTidyModule.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/TypeTraits.cpp
The file was addedclang-tools-extra/clang-tidy/performance/TriviallyDestructibleCheck.h
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was modifiedclang-tools-extra/clang-tidy/utils/TypeTraits.h
The file was modifiedclang-tools-extra/clang-tidy/performance/CMakeLists.txt
The file was addedclang-tools-extra/clang-tidy/performance/TriviallyDestructibleCheck.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was addedclang-tools-extra/docs/clang-tidy/checks/performance-trivially-destructible.rst