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 0d67d52c Updating branches/google/stable to r310337 adds 227f1ffb [clang-tidy] 'implicit cast' -> 'implicit conversion' adds 8ec8591e [clang-tidy] Add new readability non-idiomatic static access check adds 80c2bcef [clangd] Fixed a bug in make_tagged. adds 2294ef82 [clang-tidy] Ignore newlines in checks list adds 56690afb [clang-tidy] Fix another crash in make-unique check. adds 8838df4e [clang-tidy] Don't compute the edit distance if it's over the [...] adds 60d33984 [clang-tidy] Add missing doc in cppcoreguidelines-c-copy-assi [...] adds 08a65a06 [clang-tidy] Minor documentation improvement adds 5574ca71 [clang-tidy] Fix a check-fixes line adds 52ce61a5 [clang-tidy] add forwarders in the aliased checks from hicpp module adds ea1b4cd5 [clang-tidy] Fix an error in the doc. adds 0d045ab5 [clang-tidy] Add modernize-use-emplace.IgnoreImplicitConstruc [...] adds 27c5c7a0 [clang-tidy] Enable test for http://llvm.org/PR26228 adds ff0d2369 [clang-tidy] Add a test. adds 2e28381c [clang-tidy] Updated docs and release notes for r310584 adds acf1fb9d [clang-tidy] Add integer division check adds 85228cfc [clang-tidy] Refactor the code and add a close-on-exec check [...] adds d1f9b1e2 [clang-tidy] Fix a buildbot. adds df29f9f2 Revert "[clang-tidy] Refactor the code and add a close-on-exe [...] adds e568b73e [clang-tidy] Fix for buildbot. adds 794f3e8e Implement hicpp-braces-around-statements as an alias to reada [...] adds a0e453a8 Add hicpp-exception-baseclass to the HIC++ module. adds b4829b41 Enable exceptions for this test case to speculatively fix the [...] adds 4d2e5ec3 Fix Wdocumentation warning - typo in argument list. NFCI. adds e8a5faa6 [clangd] Fixed a data race. adds b50ec349 [clangd] Check if CompileCommand has changed on forceReparse. adds 7fd6c0d8 [clangd] Use multiple working threads in clangd. adds 13a071d6 Add braces to silence gcc dangling-else warnings. NFCI. adds af774575 [clang-tidy] Add a close-on-exec check on dup() in Android module. adds 0d886cc0 [clang-tidy] Add a close-on-exec check on inotify_init() in A [...] adds d3789e24 [clang-tidy] Add a close-on-exec check on inotify_init1() in [...] adds 085ff535 [clang-tidy] Use CloexecCheck as base class. adds c95f49af [clang-tidy] Add a close-on-exec check on accept() in Android [...] adds 030ce55e [clang-tidy] Add a close-on-exec check on accept4() in Androi [...] adds 9d0eab6f [clang-tidy] Add a close-on-exec check on epoll_create1() in [...] adds d63be130 [clang-tidy] Add a close-on-exec check on epoll_create() in A [...] adds 37623750 [clang-tidy] Use const char* to compile with VC cl.exe. adds 54963e77 [clang-tidy] Remove unused static variable. adds 93212637 [clang-tidy] Don't generate fixes for initializer_list constr [...] adds 7d578cf4 [clang-tidy] Ignore statements inside a template instantiation. adds 2f301f50 [clang-tidy] Add modernize-use-equals-default.IgnoreMacros option adds 8ec03806 [clangd] Updated ClangdServer comments. NFC. adds ae7bf942 [clang-tidy] bugprone-undefined-memory-manipulation: include [...] adds eec2ca34 [clang-tidy] A follow-up fix of braced-init-list constructors [...] adds c543235c [clang-tidy] Add missing IgnoreMacros doc for modernize-use-e [...] adds 24952e57 [cmake] Support running extra clang tool tests without static [...] adds 1faaa79f [clang-tidy] Fix 'misc-misplaced-widening-cast' assertion error. adds b5672f2f [clang-tidy] test commit for granted access adds 4255b775 [clang-tidy] hicpp bitwise operations on signed integers adds b4752f50 [clang-tidy] Improve hicpp-exception-baseclass to handle gene [...] adds e360013e clang-tools-extra/test/clang-tidy/hicpp-signed-bitwise.cpp: A [...] adds 1d83854f [clang-tidy] fix buildbot adds b7c157e0 [cppcoreguidelines] Don't rely on SmallPtrSet iteration order. adds 84290a7f clangd: Tolerate additional headers adds e790a95e Make run-clang-tidy compatible with Python 3.x new 9e0d9c3c Updating branches/google/stable to r312634
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: CMakeLists.txt | 3 +- clang-tidy/ClangTidyDiagnosticConsumer.cpp | 2 +- clang-tidy/android/AndroidTidyModule.cpp | 21 ++ clang-tidy/android/CMakeLists.txt | 9 + clang-tidy/android/CloexecAccept4Check.cpp | 40 +++ ...{CloexecSocketCheck.h => CloexecAccept4Check.h} | 20 +- clang-tidy/android/CloexecAcceptCheck.cpp | 47 +++ .../{CloexecSocketCheck.h => CloexecAcceptCheck.h} | 20 +- clang-tidy/android/CloexecCheck.cpp | 114 ++++++ clang-tidy/android/CloexecCheck.h | 105 ++++++ clang-tidy/android/CloexecCreatCheck.cpp | 36 +- clang-tidy/android/CloexecCreatCheck.h | 6 +- clang-tidy/android/CloexecDupCheck.cpp | 38 ++ .../{CloexecSocketCheck.h => CloexecDupCheck.h} | 21 +- clang-tidy/android/CloexecEpollCreate1Check.cpp | 33 ++ ...xecSocketCheck.h => CloexecEpollCreate1Check.h} | 20 +- clang-tidy/android/CloexecEpollCreateCheck.cpp | 36 ++ ...execSocketCheck.h => CloexecEpollCreateCheck.h} | 20 +- clang-tidy/android/CloexecFopenCheck.cpp | 50 +-- clang-tidy/android/CloexecFopenCheck.h | 6 +- clang-tidy/android/CloexecInotifyInit1Check.cpp | 33 ++ ...xecSocketCheck.h => CloexecInotifyInit1Check.h} | 20 +- clang-tidy/android/CloexecInotifyInitCheck.cpp | 34 ++ ...execSocketCheck.h => CloexecInotifyInitCheck.h} | 20 +- clang-tidy/android/CloexecMemfdCreateCheck.cpp | 32 ++ ...execSocketCheck.h => CloexecMemfdCreateCheck.h} | 20 +- clang-tidy/android/CloexecOpenCheck.cpp | 60 +--- clang-tidy/android/CloexecOpenCheck.h | 6 +- clang-tidy/android/CloexecSocketCheck.cpp | 36 +- clang-tidy/android/CloexecSocketCheck.h | 6 +- clang-tidy/bugprone/BugproneTidyModule.cpp | 3 + clang-tidy/bugprone/CMakeLists.txt | 1 + clang-tidy/bugprone/IntegerDivisionCheck.cpp | 57 +++ ...usMemsetUsageCheck.h => IntegerDivisionCheck.h} | 17 +- .../bugprone/UndefinedMemoryManipulationCheck.cpp | 23 +- clang-tidy/cppcoreguidelines/NoMallocCheck.cpp | 2 +- .../cppcoreguidelines/ProTypeMemberInitCheck.cpp | 29 +- clang-tidy/hicpp/CMakeLists.txt | 2 + clang-tidy/hicpp/ExceptionBaseclassCheck.cpp | 50 +++ ...oAssemblerCheck.h => ExceptionBaseclassCheck.h} | 16 +- clang-tidy/hicpp/HICPPTidyModule.cpp | 9 + clang-tidy/hicpp/SignedBitwiseCheck.cpp | 56 +++ .../{NoAssemblerCheck.h => SignedBitwiseCheck.h} | 17 +- clang-tidy/misc/MisplacedWideningCastCheck.cpp | 4 + clang-tidy/misc/VirtualNearMissCheck.cpp | 4 +- clang-tidy/modernize/MakeSmartPtrCheck.cpp | 77 +++- clang-tidy/modernize/MakeSmartPtrCheck.h | 3 +- clang-tidy/modernize/UseEmplaceCheck.cpp | 13 +- clang-tidy/modernize/UseEmplaceCheck.h | 9 +- clang-tidy/modernize/UseEqualsDefaultCheck.cpp | 71 ++-- clang-tidy/modernize/UseEqualsDefaultCheck.h | 7 +- clang-tidy/performance/CMakeLists.txt | 2 +- ...Check.cpp => ImplicitConversionInLoopCheck.cpp} | 37 +- ...LoopCheck.h => ImplicitConversionInLoopCheck.h} | 12 +- clang-tidy/performance/PerformanceTidyModule.cpp | 6 +- clang-tidy/readability/CMakeLists.txt | 3 +- ...stCheck.cpp => ImplicitBoolConversionCheck.cpp} | 54 ++- ...olCastCheck.h => ImplicitBoolConversionCheck.h} | 20 +- clang-tidy/readability/ReadabilityTidyModule.cpp | 9 +- .../StaticAccessedThroughInstanceCheck.cpp | 90 +++++ .../StaticAccessedThroughInstanceCheck.h | 43 +++ clang-tidy/tool/run-clang-tidy.py | 16 +- clangd/ClangdLSPServer.cpp | 4 +- clangd/ClangdLSPServer.h | 2 +- clangd/ClangdServer.cpp | 211 ++++++----- clangd/ClangdServer.h | 92 +++-- clangd/ClangdUnit.cpp | 39 ++- clangd/ClangdUnit.h | 12 +- clangd/ClangdUnitStore.cpp | 36 ++ clangd/ClangdUnitStore.h | 22 ++ clangd/JSONRPCDispatcher.cpp | 101 ++++-- clangd/tool/ClangdMain.cpp | 28 +- docs/ReleaseNotes.rst | 87 ++++- docs/clang-tidy/checks/android-cloexec-accept.rst | 18 + docs/clang-tidy/checks/android-cloexec-accept4.rst | 18 + docs/clang-tidy/checks/android-cloexec-dup.rst | 18 + .../checks/android-cloexec-epoll-create.rst | 17 + .../checks/android-cloexec-epoll-create1.rst | 18 + .../checks/android-cloexec-inotify-init.rst | 17 + .../checks/android-cloexec-inotify-init1.rst | 18 + .../checks/android-cloexec-memfd-create.rst | 18 + .../checks/bugprone-integer-division.rst | 39 +++ ...pcoreguidelines-c-copy-assignment-signature.rst | 10 + .../checks/hicpp-braces-around-statements.rst | 11 + .../checks/hicpp-exception-baseclass.rst | 30 ++ .../checks/hicpp-explicit-conversions.rst | 4 +- docs/clang-tidy/checks/hicpp-function-size.rst | 4 +- .../checks/hicpp-invalid-access-moved.rst | 4 +- docs/clang-tidy/checks/hicpp-member-init.rst | 4 +- docs/clang-tidy/checks/hicpp-named-parameter.rst | 4 +- .../checks/hicpp-new-delete-operators.rst | 4 +- docs/clang-tidy/checks/hicpp-noexcept-move.rst | 4 +- docs/clang-tidy/checks/hicpp-signed-bitwise.rst | 9 + .../checks/hicpp-special-member-functions.rst | 4 +- .../checks/hicpp-undelegated-constructor.rst | 4 +- .../clang-tidy/checks/hicpp-use-equals-default.rst | 4 +- docs/clang-tidy/checks/hicpp-use-equals-delete.rst | 4 +- docs/clang-tidy/checks/hicpp-use-override.rst | 4 +- docs/clang-tidy/checks/list.rst | 42 ++- docs/clang-tidy/checks/modernize-use-emplace.rst | 12 + .../checks/modernize-use-equals-default.rst | 8 + .../checks/performance-implicit-cast-in-loop.rst | 21 +- ...=> performance-implicit-conversion-in-loop.rst} | 14 +- .../checks/readability-implicit-bool-cast.rst | 131 +------ ...st => readability-implicit-bool-conversion.rst} | 48 +-- ...eadability-static-accessed-through-instance.rst | 31 ++ test/CMakeLists.txt | 20 +- .../Inputs/modernize-smart-ptr/initializer_list.h | 6 + test/clang-tidy/android-cloexec-accept.cpp | 28 ++ test/clang-tidy/android-cloexec-accept4.cpp | 66 ++++ test/clang-tidy/android-cloexec-dup.cpp | 31 ++ test/clang-tidy/android-cloexec-epoll-create.cpp | 24 ++ test/clang-tidy/android-cloexec-epoll-create1.cpp | 59 ++++ test/clang-tidy/android-cloexec-inotify-init.cpp | 24 ++ test/clang-tidy/android-cloexec-inotify-init1.cpp | 64 ++++ test/clang-tidy/android-cloexec-memfd-create.cpp | 63 ++++ test/clang-tidy/bugprone-integer-division.cpp | 130 +++++++ .../bugprone-undefined-memory-manipulation.cpp | 100 ++++-- .../cppcoreguidelines-pro-type-member-init.cpp | 13 + test/clang-tidy/hicpp-exception-baseclass.cpp | 179 ++++++++++ test/clang-tidy/hicpp-signed-bitwise.cpp | 219 ++++++++++++ .../misc-misplaced-widening-cast-explicit-only.cpp | 6 + test/clang-tidy/modernize-make-unique.cpp | 84 ++++- ...ze-use-emplace-ignore-implicit-constructors.cpp | 123 +++++++ .../modernize-use-equals-default-copy.cpp | 4 +- .../modernize-use-equals-default-macros.cpp | 13 + test/clang-tidy/modernize-use-equals-default.cpp | 4 +- ...=> performance-implicit-conversion-in-loop.cpp} | 12 +- .../readability-braces-around-statements.cpp | 13 +- ...plicit-bool-conversion-allow-in-conditions.cpp} | 20 +- ...readability-implicit-bool-conversion-cxx98.cpp} | 14 +- ...pp => readability-implicit-bool-conversion.cpp} | 168 ++++----- ...accessed-through-instance-nesting-threshold.cpp | 33 ++ ...eadability-static-accessed-through-instance.cpp | 222 ++++++++++++ test/clangd/protocol.test | 82 +++++ test/include-fixer/yamldb_plugin.cpp | 17 +- test/lit.cfg | 25 +- test/lit.site.cfg.in | 1 + unittests/CMakeLists.txt | 4 +- .../clang-tidy/ClangTidyDiagnosticConsumerTest.cpp | 2 +- unittests/clang-tidy/ReadabilityModuleTest.cpp | 12 +- unittests/clangd/ClangdTests.cpp | 387 +++++++++++++++++++-- 142 files changed, 4162 insertions(+), 1016 deletions(-) create mode 100644 clang-tidy/android/CloexecAccept4Check.cpp copy clang-tidy/android/{CloexecSocketCheck.h => CloexecAccept4Check.h} (55%) create mode 100644 clang-tidy/android/CloexecAcceptCheck.cpp copy clang-tidy/android/{CloexecSocketCheck.h => CloexecAcceptCheck.h} (56%) create mode 100644 clang-tidy/android/CloexecCheck.cpp create mode 100644 clang-tidy/android/CloexecCheck.h create mode 100644 clang-tidy/android/CloexecDupCheck.cpp copy clang-tidy/android/{CloexecSocketCheck.h => CloexecDupCheck.h} (52%) create mode 100644 clang-tidy/android/CloexecEpollCreate1Check.cpp copy clang-tidy/android/{CloexecSocketCheck.h => CloexecEpollCreate1Check.h} (53%) create mode 100644 clang-tidy/android/CloexecEpollCreateCheck.cpp copy clang-tidy/android/{CloexecSocketCheck.h => CloexecEpollCreateCheck.h} (54%) create mode 100644 clang-tidy/android/CloexecInotifyInit1Check.cpp copy clang-tidy/android/{CloexecSocketCheck.h => CloexecInotifyInit1Check.h} (53%) create mode 100644 clang-tidy/android/CloexecInotifyInitCheck.cpp copy clang-tidy/android/{CloexecSocketCheck.h => CloexecInotifyInitCheck.h} (54%) create mode 100644 clang-tidy/android/CloexecMemfdCreateCheck.cpp copy clang-tidy/android/{CloexecSocketCheck.h => CloexecMemfdCreateCheck.h} (52%) create mode 100644 clang-tidy/bugprone/IntegerDivisionCheck.cpp copy clang-tidy/bugprone/{SuspiciousMemsetUsageCheck.h => IntegerDivisionCheck.h} (53%) create mode 100644 clang-tidy/hicpp/ExceptionBaseclassCheck.cpp copy clang-tidy/hicpp/{NoAssemblerCheck.h => ExceptionBaseclassCheck.h} (54%) create mode 100644 clang-tidy/hicpp/SignedBitwiseCheck.cpp copy clang-tidy/hicpp/{NoAssemblerCheck.h => SignedBitwiseCheck.h} (53%) rename clang-tidy/performance/{ImplicitCastInLoopCheck.cpp => ImplicitConversionIn [...] rename clang-tidy/performance/{ImplicitCastInLoopCheck.h => ImplicitConversionInLo [...] rename clang-tidy/readability/{ImplicitBoolCastCheck.cpp => ImplicitBoolConversion [...] rename clang-tidy/readability/{ImplicitBoolCastCheck.h => ImplicitBoolConversionCh [...] create mode 100644 clang-tidy/readability/StaticAccessedThroughInstanceCheck.cpp create mode 100644 clang-tidy/readability/StaticAccessedThroughInstanceCheck.h create mode 100644 docs/clang-tidy/checks/android-cloexec-accept.rst create mode 100644 docs/clang-tidy/checks/android-cloexec-accept4.rst create mode 100644 docs/clang-tidy/checks/android-cloexec-dup.rst create mode 100644 docs/clang-tidy/checks/android-cloexec-epoll-create.rst create mode 100644 docs/clang-tidy/checks/android-cloexec-epoll-create1.rst create mode 100644 docs/clang-tidy/checks/android-cloexec-inotify-init.rst create mode 100644 docs/clang-tidy/checks/android-cloexec-inotify-init1.rst create mode 100644 docs/clang-tidy/checks/android-cloexec-memfd-create.rst create mode 100644 docs/clang-tidy/checks/bugprone-integer-division.rst create mode 100644 docs/clang-tidy/checks/cppcoreguidelines-c-copy-assignment-sign [...] create mode 100644 docs/clang-tidy/checks/hicpp-braces-around-statements.rst create mode 100644 docs/clang-tidy/checks/hicpp-exception-baseclass.rst create mode 100644 docs/clang-tidy/checks/hicpp-signed-bitwise.rst copy docs/clang-tidy/checks/{performance-implicit-cast-in-loop.rst => performance- [...] copy docs/clang-tidy/checks/{readability-implicit-bool-cast.rst => readability-imp [...] create mode 100644 docs/clang-tidy/checks/readability-static-accessed-through-inst [...] create mode 100644 test/clang-tidy/android-cloexec-accept.cpp create mode 100644 test/clang-tidy/android-cloexec-accept4.cpp create mode 100644 test/clang-tidy/android-cloexec-dup.cpp create mode 100644 test/clang-tidy/android-cloexec-epoll-create.cpp create mode 100644 test/clang-tidy/android-cloexec-epoll-create1.cpp create mode 100644 test/clang-tidy/android-cloexec-inotify-init.cpp create mode 100644 test/clang-tidy/android-cloexec-inotify-init1.cpp create mode 100644 test/clang-tidy/android-cloexec-memfd-create.cpp create mode 100644 test/clang-tidy/bugprone-integer-division.cpp create mode 100644 test/clang-tidy/hicpp-exception-baseclass.cpp create mode 100644 test/clang-tidy/hicpp-signed-bitwise.cpp create mode 100644 test/clang-tidy/modernize-use-emplace-ignore-implicit-constructors.cpp create mode 100644 test/clang-tidy/modernize-use-equals-default-macros.cpp rename test/clang-tidy/{performance-implicit-cast-in-loop.cpp => performance-impli [...] rename test/clang-tidy/{readability-implicit-bool-cast-allow-conditional-casts.cpp [...] rename test/clang-tidy/{readability-implicit-bool-cast-cxx98.cpp => readability-im [...] rename test/clang-tidy/{readability-implicit-bool-cast.cpp => readability-implicit [...] create mode 100644 test/clang-tidy/readability-static-accessed-through-instance-ne [...] create mode 100644 test/clang-tidy/readability-static-accessed-through-instance.cpp create mode 100644 test/clangd/protocol.test