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 75159c73 Updating branches/google/stable to r305862 adds 38aafdfd [clang-tidy] Fix a false positive in modernize-use-nullptr. adds 4130d398 [clang-tidy][Part1] Add a new module Android and three new checks. adds 58485565 [clang-tidy] doc format fix adds a04144c2 Remove the script dump_check_docs.py. It was a one-shot migra [...] adds d3f458fc [clang-tidy] Fix type names in modernize-use-unique/shared_pt [...] adds 8b3cb34a [NFC] Update to account for DiagnosticRenderer use of FullSourceLoc adds 001f8ed8 [clang-tidy] Handle new array expressions in modernize-make-u [...] adds 85d8fe46 [clangd] Allow to override resource dir in ClangdServer. adds 3af70095 [clang-tidy] Enable inline variable definitions in headers adds c8a78c32 [clangd] Add "Go to Declaration" functionality adds cb0c6c5c [clangd] Cleanup ClangdUnit.cpp, update docs; NFC adds 38a6645b clangDaemon requires clangLex. adds 5cac6cf0 [clang-tidy] follow-up on misc-definitions-in-header check. adds f3c995bf [clang-tidy] Fix modernize-use-nullptr only warns the first N [...] adds a6ee1a24 [clangd] Added a test, checking that gcc install is searched [...] adds 3bf89e26 [clangd] Run a test, searching for gcc install, only on Unix. adds 94eb5945 [clangd] Check failure of Lexer::getRawToken in GoToDeclaration. adds e5b0df5b [clang-tidy][Part2] Add a new module Android and three new checks adds c62bd4cf [clang-tidy][Part3] Add a new module Android and three new checks. adds b997232a [clang-tidy] Add docs to toctree adds cb17dbb1 [clang-tidy] Rename android-file-open-flag and fix a bug adds cdfb024e Fix some typos in the doc adds e6f88b28 Revert "Modify test so that it looks for patterns in stderr as well" adds a6eb9620 [refactor] Move clang-rename into the clang repository adds 8401b95d Move ClassReplacements.cpp test from clang-rename tests to th [...] adds 68cef18a Fix ODR violations due to abuse of LLVM_YAML_IS_(FLOW_)?SEQUE [...] adds 47b803c4 [clangd] Add -ffreestanding on VFS tests. adds d73f1b6d [clang-tidy] Resolve cppcoreguidelines-pro-type-member-init f [...] adds c4efde4d ClangdServer.cpp: Suppress a warning. [-Wunused-lambda-capture] adds 9978ec5d [clang-tidy] Add "MakeSmartPtrFunction" option to modernize-m [...] adds 5ec1f7ca [clangd] Add support for per-file extra flags adds 15ba34cf [clang-tidy] Fix modernize-use-override incorrect replacement adds d33cf3b4 Improve error message when run from a buffer that doesn't vis [...] adds 3c94c097 [CMake] Use tools template for clangd and modularize adds e490e8e0 Use new command replace-buffer-contents if available adds e79e1373 [clang-tidy] Extend diagnostics test. adds 90acccf6 Fix clang-tidy diagnostic.cpp test on Windows adds 822e445b [clangd] Fix Go to Definition not working in VSCode extension adds bab08db6 [clang-tidy] add_new_check.py updates ReleaseNotes.rst now adds b3737b6f [clang-tidy] Add new modernize use unary assert check adds 9e573c58 [clang-tidy] add regression test to performance-unnecessary-v [...] adds 69509211 [clang-tidy] Ignore blank spaces between cast's ")" and its s [...] adds d27436ee [clang-tidy] Add a new Android check "android-cloexec-socket" adds 53a753a1 clang-tools-extra/test/clang-tidy/performance-unnecessary-val [...] new 7caaf7e4 Updating branches/google/stable to r308006
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 | 1 - clang-query/Query.cpp | 8 +- clang-rename/CMakeLists.txt | 19 - clang-rename/RenamingAction.cpp | 134 ---- clang-rename/RenamingAction.h | 70 --- clang-rename/USRFinder.cpp | 213 ------- clang-rename/USRFinder.h | 84 --- clang-rename/USRFindingAction.cpp | 236 ------- clang-rename/USRFindingAction.h | 54 -- clang-rename/USRLocFinder.cpp | 509 --------------- clang-rename/USRLocFinder.h | 49 -- clang-rename/tool/CMakeLists.txt | 19 - clang-rename/tool/ClangRename.cpp | 240 -------- clang-rename/tool/clang-rename.el | 79 --- clang-rename/tool/clang-rename.py | 61 -- clang-tidy/CMakeLists.txt | 1 + clang-tidy/ClangTidyDiagnosticConsumer.cpp | 47 +- clang-tidy/ClangTidyOptions.cpp | 2 - clang-tidy/add_new_check.py | 32 + clang-tidy/android/AndroidTidyModule.cpp | 46 ++ clang-tidy/android/CMakeLists.txt | 17 + clang-tidy/android/CloexecCreatCheck.cpp | 59 ++ clang-tidy/android/CloexecCreatCheck.h | 35 ++ clang-tidy/android/CloexecFopenCheck.cpp | 74 +++ clang-tidy/android/CloexecFopenCheck.h | 38 ++ clang-tidy/android/CloexecOpenCheck.cpp | 74 +++ clang-tidy/android/CloexecOpenCheck.h | 40 ++ clang-tidy/android/CloexecSocketCheck.cpp | 57 ++ .../CloexecSocketCheck.h} | 20 +- .../cppcoreguidelines/ProTypeMemberInitCheck.cpp | 3 + clang-tidy/google/AvoidCStyleCastsCheck.cpp | 12 +- clang-tidy/misc/DefinitionsInHeadersCheck.cpp | 3 + clang-tidy/modernize/CMakeLists.txt | 1 + clang-tidy/modernize/MakeSmartPtrCheck.cpp | 114 +++- clang-tidy/modernize/MakeSmartPtrCheck.h | 15 +- clang-tidy/modernize/ModernizeTidyModule.cpp | 3 + clang-tidy/modernize/UnaryStaticAssertCheck.cpp | 45 ++ .../{AvoidBindCheck.h => UnaryStaticAssertCheck.h} | 20 +- clang-tidy/modernize/UseNullptrCheck.cpp | 14 +- clang-tidy/modernize/UseOverrideCheck.cpp | 7 +- clang-tidy/plugin/CMakeLists.txt | 1 + clang-tidy/tool/CMakeLists.txt | 1 + clang-tidy/tool/ClangTidyMain.cpp | 5 + clang-tidy/utils/ASTUtils.cpp | 28 + clang-tidy/utils/ASTUtils.h | 7 + clangd/CMakeLists.txt | 2 + clangd/ClangdLSPServer.cpp | 27 +- clangd/ClangdServer.cpp | 30 +- clangd/ClangdServer.h | 10 +- clangd/ClangdUnit.cpp | 160 ++++- clangd/ClangdUnit.h | 6 +- clangd/ClangdUnitStore.cpp | 11 +- clangd/ClangdUnitStore.h | 23 +- clangd/GlobalCompilationDatabase.cpp | 49 +- clangd/GlobalCompilationDatabase.h | 8 + clangd/Protocol.cpp | 42 +- clangd/Protocol.h | 41 ++ clangd/ProtocolHandlers.cpp | 20 + clangd/ProtocolHandlers.h | 2 + clangd/clients/clangd-vscode/src/extension.ts | 2 +- clangd/tool/CMakeLists.txt | 2 +- docs/ReleaseNotes.rst | 28 + docs/clang-tidy/checks/android-cloexec-creat.rst | 16 + docs/clang-tidy/checks/android-cloexec-fopen.rst | 18 + docs/clang-tidy/checks/android-cloexec-open.rst | 24 + docs/clang-tidy/checks/android-cloexec-socket.rst | 18 + docs/clang-tidy/checks/list.rst | 5 + .../checks/misc-definitions-in-headers.rst | 10 + .../checks/misc-forwarding-reference-overload.rst | 14 +- docs/clang-tidy/checks/modernize-make-shared.rst | 18 + docs/clang-tidy/checks/modernize-make-unique.rst | 18 + .../checks/modernize-unary-static-assert.rst | 25 + .../performance-inefficient-vector-operation.rst | 4 +- docs/clang-tidy/index.rst | 1 + docs/clang-tidy/tools/dump_check_docs.py | 79 --- docs/clangd.rst | 4 +- include-fixer/find-all-symbols/SymbolInfo.cpp | 1 - include-fixer/tool/ClangIncludeFixer.cpp | 1 - include-fixer/tool/clang-include-fixer.el | 8 +- modularize/CMakeLists.txt | 2 +- test/CMakeLists.txt | 5 +- .../ClangRenameClassReplacements.cpp} | 0 test/clang-rename/ClassAsTemplateArgument.cpp | 21 - test/clang-rename/ClassFindByName.cpp | 10 - test/clang-rename/ClassSimpleRenaming.cpp | 14 - test/clang-rename/ClassTestMulti.cpp | 11 - test/clang-rename/ClassTestMultiByName.cpp | 8 - test/clang-rename/ComplexFunctionOverride.cpp | 47 -- test/clang-rename/ComplicatedClassType.cpp | 63 -- test/clang-rename/Ctor.cpp | 14 - test/clang-rename/CtorInitializer.cpp | 17 - test/clang-rename/DeclRefExpr.cpp | 24 - test/clang-rename/Field.cpp | 15 - test/clang-rename/FunctionMacro.cpp | 20 - test/clang-rename/FunctionOverride.cpp | 13 - test/clang-rename/FunctionWithClassFindByName.cpp | 12 - test/clang-rename/IncludeHeaderWithSymbol.cpp | 10 - test/clang-rename/Inputs/HeaderWithSymbol.h | 1 - test/clang-rename/Inputs/OffsetToNewName.yaml | 6 - .../Inputs/QualifiedNameToNewName.yaml | 6 - test/clang-rename/InvalidNewName.cpp | 2 - test/clang-rename/InvalidOffset.cpp | 9 - test/clang-rename/InvalidQualifiedName.cpp | 4 - test/clang-rename/MemberExprMacro.cpp | 22 - test/clang-rename/Namespace.cpp | 13 - test/clang-rename/NoNewName.cpp | 4 - test/clang-rename/TemplateClassInstantiation.cpp | 42 -- test/clang-rename/TemplateTypename.cpp | 24 - test/clang-rename/TemplatedClassFunction.cpp | 22 - test/clang-rename/UserDefinedConversion.cpp | 26 - test/clang-rename/Variable.cpp | 33 - test/clang-rename/VariableMacro.cpp | 21 - test/clang-rename/YAMLInput.cpp | 10 - .../Inputs/modernize-smart-ptr/shared_ptr.h | 24 + .../Inputs/modernize-smart-ptr/unique_ptr.h | 28 + .../header-fixed.h | 15 + .../performance-unnecessary-value-param/header.h | 15 + test/clang-tidy/android-cloexec-creat.cpp | 35 ++ test/clang-tidy/android-cloexec-fopen.cpp | 57 ++ test/clang-tidy/android-cloexec-open.cpp | 180 ++++++ test/clang-tidy/android-cloexec-socket.cpp | 75 +++ test/clang-tidy/check_clang_tidy.py | 4 +- .../cppcoreguidelines-pro-type-member-init.cpp | 13 + test/clang-tidy/diagnostic.cpp | 37 +- test/clang-tidy/google-readability-casting.cpp | 24 + test/clang-tidy/misc-definitions-in-headers-1z.hpp | 10 + test/clang-tidy/misc-definitions-in-headers.hpp | 4 + test/clang-tidy/modernize-make-shared-header.cpp | 17 + test/clang-tidy/modernize-make-shared.cpp | 28 +- test/clang-tidy/modernize-make-unique-header.cpp | 17 + test/clang-tidy/modernize-make-unique.cpp | 83 ++- test/clang-tidy/modernize-unary-static-assert.cpp | 25 + test/clang-tidy/modernize-use-nullptr.cpp | 42 ++ test/clang-tidy/modernize-use-override.cpp | 14 + .../performance-unnecessary-value-param-header.cpp | 20 + test/clangd/definitions.test | 168 +++++ test/clangd/extra-flags.test | 22 + test/clangd/formatting.test | 5 +- unittests/CMakeLists.txt | 1 - unittests/clang-rename/CMakeLists.txt | 28 - unittests/clang-rename/ClangRenameTest.h | 112 ---- unittests/clang-rename/RenameClassTest.cpp | 684 --------------------- unittests/clang-tidy/CMakeLists.txt | 1 + unittests/clangd/ClangdTests.cpp | 85 ++- 144 files changed, 2326 insertions(+), 3422 deletions(-) delete mode 100644 clang-rename/CMakeLists.txt delete mode 100644 clang-rename/RenamingAction.cpp delete mode 100644 clang-rename/RenamingAction.h delete mode 100644 clang-rename/USRFinder.cpp delete mode 100644 clang-rename/USRFinder.h delete mode 100644 clang-rename/USRFindingAction.cpp delete mode 100644 clang-rename/USRFindingAction.h delete mode 100644 clang-rename/USRLocFinder.cpp delete mode 100644 clang-rename/USRLocFinder.h delete mode 100644 clang-rename/tool/CMakeLists.txt delete mode 100644 clang-rename/tool/ClangRename.cpp delete mode 100644 clang-rename/tool/clang-rename.el delete mode 100644 clang-rename/tool/clang-rename.py create mode 100644 clang-tidy/android/AndroidTidyModule.cpp create mode 100644 clang-tidy/android/CMakeLists.txt create mode 100644 clang-tidy/android/CloexecCreatCheck.cpp create mode 100644 clang-tidy/android/CloexecCreatCheck.h create mode 100644 clang-tidy/android/CloexecFopenCheck.cpp create mode 100644 clang-tidy/android/CloexecFopenCheck.h create mode 100644 clang-tidy/android/CloexecOpenCheck.cpp create mode 100644 clang-tidy/android/CloexecOpenCheck.h create mode 100644 clang-tidy/android/CloexecSocketCheck.cpp copy clang-tidy/{misc/UnusedRAIICheck.h => android/CloexecSocketCheck.h} (52%) create mode 100644 clang-tidy/modernize/UnaryStaticAssertCheck.cpp copy clang-tidy/modernize/{AvoidBindCheck.h => UnaryStaticAssertCheck.h} (53%) create mode 100644 docs/clang-tidy/checks/android-cloexec-creat.rst create mode 100644 docs/clang-tidy/checks/android-cloexec-fopen.rst create mode 100644 docs/clang-tidy/checks/android-cloexec-open.rst create mode 100644 docs/clang-tidy/checks/android-cloexec-socket.rst create mode 100644 docs/clang-tidy/checks/modernize-unary-static-assert.rst delete mode 100755 docs/clang-tidy/tools/dump_check_docs.py rename test/{clang-rename/ClassReplacements.cpp => clang-apply-replacements/ClangR [...] delete mode 100644 test/clang-rename/ClassAsTemplateArgument.cpp delete mode 100644 test/clang-rename/ClassFindByName.cpp delete mode 100644 test/clang-rename/ClassSimpleRenaming.cpp delete mode 100644 test/clang-rename/ClassTestMulti.cpp delete mode 100644 test/clang-rename/ClassTestMultiByName.cpp delete mode 100644 test/clang-rename/ComplexFunctionOverride.cpp delete mode 100644 test/clang-rename/ComplicatedClassType.cpp delete mode 100644 test/clang-rename/Ctor.cpp delete mode 100644 test/clang-rename/CtorInitializer.cpp delete mode 100644 test/clang-rename/DeclRefExpr.cpp delete mode 100644 test/clang-rename/Field.cpp delete mode 100644 test/clang-rename/FunctionMacro.cpp delete mode 100644 test/clang-rename/FunctionOverride.cpp delete mode 100644 test/clang-rename/FunctionWithClassFindByName.cpp delete mode 100644 test/clang-rename/IncludeHeaderWithSymbol.cpp delete mode 100644 test/clang-rename/Inputs/HeaderWithSymbol.h delete mode 100644 test/clang-rename/Inputs/OffsetToNewName.yaml delete mode 100644 test/clang-rename/Inputs/QualifiedNameToNewName.yaml delete mode 100644 test/clang-rename/InvalidNewName.cpp delete mode 100644 test/clang-rename/InvalidOffset.cpp delete mode 100644 test/clang-rename/InvalidQualifiedName.cpp delete mode 100644 test/clang-rename/MemberExprMacro.cpp delete mode 100644 test/clang-rename/Namespace.cpp delete mode 100644 test/clang-rename/NoNewName.cpp delete mode 100644 test/clang-rename/TemplateClassInstantiation.cpp delete mode 100644 test/clang-rename/TemplateTypename.cpp delete mode 100644 test/clang-rename/TemplatedClassFunction.cpp delete mode 100644 test/clang-rename/UserDefinedConversion.cpp delete mode 100644 test/clang-rename/Variable.cpp delete mode 100644 test/clang-rename/VariableMacro.cpp delete mode 100644 test/clang-rename/YAMLInput.cpp create mode 100644 test/clang-tidy/Inputs/modernize-smart-ptr/shared_ptr.h create mode 100644 test/clang-tidy/Inputs/modernize-smart-ptr/unique_ptr.h create mode 100644 test/clang-tidy/Inputs/performance-unnecessary-value-param/head [...] create mode 100644 test/clang-tidy/Inputs/performance-unnecessary-value-param/header.h create mode 100644 test/clang-tidy/android-cloexec-creat.cpp create mode 100644 test/clang-tidy/android-cloexec-fopen.cpp create mode 100644 test/clang-tidy/android-cloexec-open.cpp create mode 100644 test/clang-tidy/android-cloexec-socket.cpp create mode 100644 test/clang-tidy/misc-definitions-in-headers-1z.hpp create mode 100644 test/clang-tidy/modernize-make-shared-header.cpp create mode 100644 test/clang-tidy/modernize-make-unique-header.cpp create mode 100644 test/clang-tidy/modernize-unary-static-assert.cpp create mode 100644 test/clang-tidy/performance-unnecessary-value-param-header.cpp create mode 100644 test/clangd/definitions.test create mode 100644 test/clangd/extra-flags.test delete mode 100644 unittests/clang-rename/CMakeLists.txt delete mode 100644 unittests/clang-rename/ClangRenameTest.h delete mode 100644 unittests/clang-rename/RenameClassTest.cpp