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 7caaf7e4 Updating branches/google/stable to r308006 adds f32ae592 [Clang-Tidy] Preserve Message, FileOffset, FilePath in Clang- [...] adds 92a14e48 [clang-tidy] Add bugprone-suspicious-memset-usage check adds afe043a7 [clang-tidy] Add bugprone-undefined-memory-manipulation check adds c3de083b [clang-tidy] Minor documentation fix. NFC. adds a4d564f6 ClangApplyReplacementsTests: Add clangBasic in libdeps. adds b1070ce8 [clang-tidy] Add modernize-use-bool-literals.IgnoreMacros option adds 70a97526 [NFC] Update function call names as changed in MacroInfo that [...] adds 70a6a684 Add autoload cookies for clang-include-fixer lisp functions. adds 925f5cda Bump docs version to 6.0 adds 26681bbb Clear release notes for 6.0.0 adds f8b16115 [clangd] Allow specifying -resource-dir adds 1a4aa5af [clang-tidy] Unify the way IncludeStyle and HeaderFileExtesio [...] adds 70ded026 [clang-tidy] s/1/true/, NFC adds cf934dc2 [clang-tools-extra] Add support for plain C structs in clang- [...] adds 7d2fc669 [clangd] Specified --gcc-toolchain explicitly in VFS test. adds 1debd0a4 [clang-tidy] Add option to export fixes to run-clang-tidy.py adds 54c46b27 [clangd] Replace ASTUnit with manual AST management. adds fcc059d9 clangDaemon: Update libdeps in r308738. adds 78f4223a [clang-tidy] Handle incomplete types in bugprone-undefined-me [...] adds 8f20b80e [clangd] Workaround Windows test failures. adds 5d155340 [clangd] Reuse compile commands during reparse adds fb0eeeae [clang-tidy] clang-apply-replacements: Don't insert null entry adds 89a51100 [clang-tidy] Fixup clang-apply-replacements/invalid-files test adds b5c13269 [clang-tidy] Do not issue fixit for explicit template special [...] adds db0ca852 [clangd] Don't reverse priorities of completion items. adds dbdef28c [clangd] Workaround for a test failure on Windows. adds c86c7bcb [clang-tidy] readability-redundant-declaration: ignore friend [...] adds 50ce9140 [clang-tidy] Expand readability-redundant-function-ptr-derefe [...] adds 49fc331e [clang-reorder-fields] Emit warning when reordering breaks me [...] adds 33650981 [clangd] Add ':' to completion trigger characters. adds 1bdba187 [clangd] Allow to get vfs::FileSystem used inside codeComplete. new 5e0a99b1 Updating branches/google/stable to r309660
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: .../lib/Tooling/ApplyReplacements.cpp | 22 +- clang-reorder-fields/ReorderFieldsAction.cpp | 99 +++- clang-tidy/CMakeLists.txt | 1 + clang-tidy/bugprone/BugproneTidyModule.cpp | 41 ++ clang-tidy/bugprone/CMakeLists.txt | 17 + clang-tidy/bugprone/SuspiciousMemsetUsageCheck.cpp | 127 ++++ .../SuspiciousMemsetUsageCheck.h} | 21 +- .../bugprone/UndefinedMemoryManipulationCheck.cpp | 62 ++ .../bugprone/UndefinedMemoryManipulationCheck.h | 37 ++ .../ProBoundsConstantArrayIndexCheck.cpp | 2 +- clang-tidy/google/CMakeLists.txt | 1 - clang-tidy/google/GlobalNamesInHeadersCheck.cpp | 4 +- clang-tidy/google/GoogleTidyModule.cpp | 3 - clang-tidy/google/MemsetZeroLengthCheck.cpp | 96 --- clang-tidy/google/MemsetZeroLengthCheck.h | 39 -- .../google/UnnamedNamespaceInHeaderCheck.cpp | 4 +- clang-tidy/llvm/HeaderGuardCheck.cpp | 15 +- clang-tidy/llvm/HeaderGuardCheck.h | 6 - clang-tidy/misc/DefinitionsInHeadersCheck.cpp | 4 +- clang-tidy/misc/MacroParenthesesCheck.cpp | 2 +- clang-tidy/misc/MacroRepeatedSideEffectsCheck.cpp | 4 +- clang-tidy/misc/MoveConstructorInitCheck.cpp | 2 +- clang-tidy/modernize/MakeSmartPtrCheck.cpp | 2 +- clang-tidy/modernize/PassByValueCheck.cpp | 2 +- clang-tidy/modernize/ReplaceAutoPtrCheck.cpp | 2 +- clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp | 2 +- clang-tidy/modernize/UseBoolLiteralsCheck.cpp | 12 +- clang-tidy/modernize/UseBoolLiteralsCheck.h | 6 +- clang-tidy/modernize/UseDefaultMemberInitCheck.cpp | 2 +- .../performance/TypePromotionInMathFnCheck.cpp | 2 +- .../performance/UnnecessaryValueParamCheck.cpp | 18 +- .../readability/RedundantDeclarationCheck.cpp | 18 +- clang-tidy/readability/RedundantDeclarationCheck.h | 6 +- clang-tidy/tool/CMakeLists.txt | 1 + clang-tidy/tool/ClangTidyMain.cpp | 5 + clang-tidy/tool/run-clang-tidy.py | 54 +- clang-tidy/utils/HeaderFileExtensionsUtils.h | 4 + clang-tidy/utils/HeaderGuard.h | 4 +- clangd/CMakeLists.txt | 1 + clangd/ClangdLSPServer.cpp | 7 +- clangd/ClangdLSPServer.h | 4 +- clangd/ClangdServer.cpp | 21 +- clangd/ClangdServer.h | 8 +- clangd/ClangdUnit.cpp | 641 ++++++++++++++++----- clangd/ClangdUnit.h | 80 ++- clangd/ClangdUnitStore.h | 9 +- clangd/tool/ClangdMain.cpp | 10 +- docs/ReleaseNotes.rst | 113 +--- .../checks/bugprone-suspicious-memset-usage.rst | 54 ++ .../bugprone-undefined-memory-manipulation.rst | 7 + docs/clang-tidy/checks/google-runtime-memset.rst | 10 - docs/clang-tidy/checks/list.rst | 3 +- docs/clang-tidy/index.rst | 1 + docs/conf.py | 4 +- include-fixer/tool/clang-include-fixer.el | 3 + modularize/PreprocessorTracker.cpp | 2 +- .../Inputs/basic/file1.yaml | 3 + .../Inputs/basic/file2.yaml | 3 + .../Inputs/conflict/file1.yaml | 3 + .../Inputs/conflict/file2.yaml | 5 +- .../Inputs/conflict/file3.yaml | 3 + .../Inputs/crlf/file1.yaml | 5 +- .../clang-apply-replacements/Inputs/format/no.yaml | 7 +- .../Inputs/format/yes.yaml | 7 +- .../Inputs/invalid-files/invalid-files.yaml | 12 + test/clang-apply-replacements/invalid-files.cpp | 6 + test/clang-reorder-fields/ClassDerived.cpp | 33 ++ .../FieldDependencyWarning.cpp | 54 ++ .../FieldDependencyWarningDerived.cpp | 36 ++ ...ctFieldsOrder.cpp => PlainCStructFieldsOrder.c} | 6 +- .../bugprone-suspicious-memset-usage.cpp | 77 +++ .../bugprone-undefined-memory-manipulation.cpp | 185 ++++++ .../google-runtime-memset-zero-length.cpp | 62 -- ... modernize-use-bool-literals-ignore-macros.cpp} | 10 +- test/clang-tidy/modernize-use-bool-literals.cpp | 6 +- .../performance-unnecessary-value-param.cpp | 11 + ...ability-redundant-declaration-ignore-macros.cpp | 22 + .../readability-redundant-declaration.cpp | 28 +- ...dability-redundant-function-ptr-dereference.cpp | 21 + test/clangd/authority-less-uri.test | 4 +- test/clangd/completion.test | 28 +- test/clangd/definitions.test | 6 +- test/clangd/formatting.test | 4 +- .../ApplyReplacementsTest.cpp | 53 ++ unittests/clang-apply-replacements/CMakeLists.txt | 2 + unittests/clangd/ClangdTests.cpp | 10 +- 86 files changed, 1802 insertions(+), 637 deletions(-) create mode 100644 clang-tidy/bugprone/BugproneTidyModule.cpp create mode 100644 clang-tidy/bugprone/CMakeLists.txt create mode 100644 clang-tidy/bugprone/SuspiciousMemsetUsageCheck.cpp copy clang-tidy/{cert/StaticObjectExceptionCheck.h => bugprone/SuspiciousMemsetUsa [...] create mode 100644 clang-tidy/bugprone/UndefinedMemoryManipulationCheck.cpp create mode 100644 clang-tidy/bugprone/UndefinedMemoryManipulationCheck.h delete mode 100644 clang-tidy/google/MemsetZeroLengthCheck.cpp delete mode 100644 clang-tidy/google/MemsetZeroLengthCheck.h create mode 100644 docs/clang-tidy/checks/bugprone-suspicious-memset-usage.rst create mode 100644 docs/clang-tidy/checks/bugprone-undefined-memory-manipulation.rst delete mode 100644 docs/clang-tidy/checks/google-runtime-memset.rst create mode 100644 test/clang-apply-replacements/Inputs/invalid-files/invalid-files.yaml create mode 100644 test/clang-apply-replacements/invalid-files.cpp create mode 100644 test/clang-reorder-fields/ClassDerived.cpp create mode 100644 test/clang-reorder-fields/FieldDependencyWarning.cpp create mode 100644 test/clang-reorder-fields/FieldDependencyWarningDerived.cpp copy test/clang-reorder-fields/{CStructFieldsOrder.cpp => PlainCStructFieldsOrder. [...] create mode 100644 test/clang-tidy/bugprone-suspicious-memset-usage.cpp create mode 100644 test/clang-tidy/bugprone-undefined-memory-manipulation.cpp delete mode 100644 test/clang-tidy/google-runtime-memset-zero-length.cpp copy test/clang-tidy/{modernize-use-bool-literals.cpp => modernize-use-bool-litera [...] create mode 100644 test/clang-tidy/readability-redundant-declaration-ignore-macros.cpp create mode 100644 unittests/clang-apply-replacements/ApplyReplacementsTest.cpp