This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch stable in repository clang-tools-extra.
from da11e720 Updating branches/google/stable to r300801 adds eb8cc79c [Clangd] Support Authority-less URIs adds ffb2aae1 [Clangd] Failed to decode params using 1.x-compatible request [...] adds 68182d7b clang-rename: fix formatting adds 4c946c16 [clang-tidy] New check: modernize-replace-random-shuffle. adds c442dc17 Extend readability-container-size-empty to add comparisons to [...] adds e1eb3e37 [clang-tidy] Some Cleanups for performance-faster-string-find check. adds 6c7485c7 [clang-tidy] run-clang-tidy.py: check if clang-apply-replacem [...] adds 00359fbf [clang-tidy] Update IdentifierNamingCheck to remove extra lea [...] adds d9feef01 [clang-tidy] Support detecting for-range loop in inefficient- [...] adds e522cfb1 Fix API breaks adds ba02ce56 [clang-tidy] modernize-use-emplace: remove unnecessary make_p [...] adds 7ff35b72 [clang-tidy] Expand AllowConditional*Casts to binary logical [...] adds e305d959 clang-tools-extra/test/CMakeLists.txt: Rework r297806 (D29851 [...] adds 922d7fd2 [clang-tidy] Fix naming convention in modernize-use-emplace adds 64c43861 Reorder release notes, fix missing link and a grammar issue. adds e54a30e7 [clang-move] Find template class forward declarations more pr [...] new 7ab8a679 Updating branches/google/stable to r302012
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: clang-move/ClangMove.cpp | 14 +-- clang-rename/RenamingAction.cpp | 7 +- clang-rename/USRLocFinder.cpp | 3 +- clang-rename/USRLocFinder.h | 2 +- clang-tidy/modernize/CMakeLists.txt | 1 + clang-tidy/modernize/ModernizeTidyModule.cpp | 3 + clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp | 109 +++++++++++++++++++ .../ReplaceRandomShuffleCheck.h} | 27 ++--- clang-tidy/modernize/UseEmplaceCheck.cpp | 80 +++++++++----- clang-tidy/performance/FasterStringFindCheck.cpp | 34 +++--- .../InefficientVectorOperationCheck.cpp | 94 ++++++++++++++--- .../performance/InefficientVectorOperationCheck.h | 7 +- clang-tidy/readability/ContainerSizeEmptyCheck.cpp | 68 +++++++++++- clang-tidy/readability/IdentifierNamingCheck.cpp | 15 ++- clang-tidy/readability/ImplicitBoolCastCheck.cpp | 34 +++--- clang-tidy/tool/run-clang-tidy.py | 38 +++++-- clang-tidy/utils/ASTUtils.cpp | 16 +++ clang-tidy/utils/ASTUtils.h | 2 + clangd/Protocol.cpp | 4 +- docs/ReleaseNotes.rst | 46 +++++--- docs/clang-tidy/checks/list.rst | 1 + .../checks/modernize-replace-random-shuffle.rst | 28 +++++ docs/clang-tidy/checks/modernize-use-emplace.rst | 3 +- .../performance-inefficient-vector-operation.rst | 37 ++++++- pp-trace/PPCallbacksTracker.cpp | 3 +- pp-trace/PPCallbacksTracker.h | 3 +- test/CMakeLists.txt | 15 +-- .../modernize-replace-random-shuffle.cpp | 57 ++++++++++ test/clang-tidy/modernize-use-emplace.cpp | 49 +++++++-- .../performance-inefficient-vector-operation.cpp | 85 ++++++++++++++- .../readability-container-size-empty.cpp | 117 ++++++++++++++++++++- test/clang-tidy/readability-identifier-naming.cpp | 3 + ...-implicit-bool-cast-allow-conditional-casts.cpp | 5 +- test/clangd/completion.test | 21 ++++ unittests/clang-move/ClangMoveTests.cpp | 21 +++- 35 files changed, 878 insertions(+), 174 deletions(-) create mode 100644 clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp copy clang-tidy/{performance/TypePromotionInMathFnCheck.h => modernize/ReplaceRand [...] create mode 100644 docs/clang-tidy/checks/modernize-replace-random-shuffle.rst create mode 100644 test/clang-tidy/modernize-replace-random-shuffle.cpp