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 8015371 Updating branches/google/stable to r275480 adds a9dcf9a [include-fixer] Always add as few as possible qualifiers to t [...] adds ea2da7f [clang-rename] add few tests adds ef51200 [clang-rename] apply stylistic fixes adds 4d2e790 [clang-rename] fix testset adds 7b70d60 [clang-rename] remove obsolete tests and apply fixes to existing adds 6b457a0 [include-fixer] Add an options allow moving the cursor to #in [...] adds 2dea63d Trunk release notes are now for 4.0.0 adds 2673ee1 docs/conf.py: update version to 4.0 adds 8ed3125 Unbreak extra tools build post r275882. adds c4966ed clang-rename: fix referenced variable in vim-script adds 6dee590 [clang-rename] add support for overridden functions adds 22b239b [include-fixer] A refactoring of IncludeFixerContext. adds 5d40593 ClangRenameTests: Update libdeps. r275958 introduced clangAST [...] adds faf268a clangRename: Update libdeps to add clangASTMatchers. adds 6d09a41 cppcoreguidelines-pro-bounds-constant-array-index: ignore imp [...] adds 1be185b [include-fixer] Tweak: remove unintended const. adds 0ebb3ec [include-fixer] Make error messages a bit prettier and make s [...] adds ffb70dc [clang-tidy] readability-identifier-naming - support for othe [...] adds 358cea6 clang-tidy modernize-loop-convert: preserve type of alias dec [...] adds 4670e75 [clang-rename] check whether -new-name is valid identifier in C++17 adds bdd81eb [include-fixer] Add mising qualifiers to all instances of an [...] adds a8ddfbe [clang-tidy] Avoid duplicated DenseMap lookup. adds 159c8d3 Restructure release notes. adds 79d64d9 [include-fixer] Fix faulty sort predicate. adds 1f8cedf [clang-tidy] new cppcoreguidelines-slicing adds adf8d24 Revert "[clang-tidy] new cppcoreguidelines-slicing" adds 5a446fb [clang-rename] introduce better symbol finding adds 48a0e79 Revert "Revert "[clang-tidy] new cppcoreguidelines-slicing"" adds 6ac6d55 ClangRenameTests: Update libdeps. adds 772f873 [clang-rename] fix typos in tests adds 5ade4aa MPITypeMismatchCheck for Clang-Tidy adds a5db362 Remove trailing spaces. adds 790fb3a Revert "Remove trailing spaces." adds efa60b6 Revert "MPITypeMismatchCheck for Clang-Tidy" adds 8eb3321 [Clang-rename] Remove custom version, fix extra space in erro [...] adds 917ab21 Test commit -- adding a newline adds 53d805d Revert test commit adds 7569908 [include-fixer] Don't add qualifiers in missing complete type cases. adds 72a8245 test: simplify commands, NFC adds 2c3642c [clang-include-fixer] Added Emacs integration for clang-inclu [...] adds 4ccd677 [clang-tidy] Add cppcoreguidelines-slicing entry to list.rst. adds 29eae6a [include-fixer] Update document. adds 11402a1 [clang-rename] skip CXXConversionDecl while searching for NamedDecl adds d282356 change Vim key binding for include-fixer and clang-rename adds ba45693 fix typo in clang-rename and clang-tidy docs adds c1ae039 clang-rename: adjust NamedDeclFindingASTVisitor for RecordDecls adds 12429a8 test: fix typo in file name (NFC) adds fe4ed86 [clang-rename] USRFinder.cpp cleanup adds 044e4e2 [clang-rename] remove redundant *_cast<> traversal adds ecd7db2 Reapply r276856 "Adjust Registry interface to not require plu [...] adds a6f2a04 Revert r276973 "Adjust Registry interface to not require plug [...] adds 5899a52 [clang-tidy] Fixes to modernize-use-emplace adds 7db11f6 [Typo police] s/proccess/process/, s/auxiliary/auxilliary/. adds 6725da4 [clang-rename] speedup RenamingAction adds dddd8a8 Sorting includes; NFC. adds 7af9b2c [clang-tidy] add check cppcoreguidelines-special-member-functions new 1e20058 Updating branches/google/stable to r277323
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-rename/CMakeLists.txt | 1 + clang-rename/RenamingAction.cpp | 33 +- clang-rename/USRFinder.cpp | 98 +++--- clang-rename/USRFinder.h | 36 +++ clang-rename/USRFindingAction.cpp | 128 +++++--- clang-rename/USRFindingAction.h | 18 +- clang-rename/USRLocFinder.cpp | 149 +++------ clang-rename/USRLocFinder.h | 3 +- clang-rename/tool/ClangRename.cpp | 51 +-- clang-rename/tool/clang-rename.py | 8 +- clang-tidy/ClangTidy.cpp | 1 + clang-tidy/ClangTidyDiagnosticConsumer.cpp | 13 +- clang-tidy/cppcoreguidelines/CMakeLists.txt | 2 + .../CppCoreGuidelinesTidyModule.cpp | 6 + .../ProBoundsConstantArrayIndexCheck.cpp | 5 +- clang-tidy/cppcoreguidelines/SlicingCheck.cpp | 135 ++++++++ clang-tidy/cppcoreguidelines/SlicingCheck.h | 45 +++ .../SpecialMemberFunctionsCheck.cpp | 133 ++++++++ .../SpecialMemberFunctionsCheck.h | 101 ++++++ clang-tidy/modernize/LoopConvertCheck.cpp | 12 +- clang-tidy/modernize/UseEmplaceCheck.cpp | 71 ++-- clang-tidy/modernize/UseEmplaceCheck.h | 12 +- clang-tidy/readability/IdentifierNamingCheck.cpp | 31 +- clang-tidy/readability/IdentifierNamingCheck.h | 2 + clang-tidy/utils/Matchers.h | 2 - docs/ReleaseNotes.rst | 358 +-------------------- docs/clang-rename.rst | 9 +- .../checks/cppcoreguidelines-slicing.rst | 23 ++ .../cppcoreguidelines-special-member-functions.rst | 21 ++ docs/clang-tidy/checks/list.rst | 2 + docs/clang-tidy/checks/modernize-use-emplace.rst | 48 ++- docs/conf.py | 4 +- docs/include-fixer.rst | 37 ++- include-fixer/IncludeFixer.cpp | 65 ++-- include-fixer/IncludeFixer.h | 22 +- include-fixer/IncludeFixerContext.cpp | 71 +++- include-fixer/IncludeFixerContext.h | 53 +-- include-fixer/tool/ClangIncludeFixer.cpp | 80 +++-- include-fixer/tool/clang-include-fixer.el | 207 ++++++++++++ include-fixer/tool/clang-include-fixer.py | 53 +-- .../ClassAsTemplateArgumentFindByClass.cpp | 18 ++ ...assAsTemplateArgumentFindByTemplateArgument.cpp | 18 ++ test/clang-rename/ClassFindByName.cpp | 9 + .../clang-rename/ClassNameInFunctionDefinition.cpp | 8 + test/clang-rename/ClassReplacements.cpp | 11 + test/clang-rename/ClassSimpleRenaming.cpp | 11 + test/clang-rename/ClassTest.cpp | 15 - test/clang-rename/ClassTestByName.cpp | 10 - test/clang-rename/ClassTestReplacements.cpp | 12 - test/clang-rename/ComplicatedClassType.cpp | 29 ++ test/clang-rename/ConstCastExpr.cpp | 13 +- test/clang-rename/ConstructExpr.cpp | 16 +- test/clang-rename/CtorDefTest.cpp | 15 - test/clang-rename/CtorFindByDeclaration.cpp | 11 + test/clang-rename/CtorFindByDefinition.cpp | 11 + test/clang-rename/CtorInitializer.cpp | 14 + test/clang-rename/CtorInitializerTest.cpp | 20 -- test/clang-rename/DeclRefExpr.cpp | 28 +- test/clang-rename/DtorDeclaration.cpp | 12 + test/clang-rename/DtorDefTest.cpp | 17 - test/clang-rename/DtorDefinition.cpp | 12 + test/clang-rename/DynamicCastExpr.cpp | 21 +- test/clang-rename/Field.cpp | 12 + test/clang-rename/FieldTest.cpp | 17 - test/clang-rename/FunctionMacro.cpp | 19 ++ test/clang-rename/FunctionWithClassFindByName.cpp | 13 + test/clang-rename/InvalidNewName.cpp | 2 + test/clang-rename/MemberExprMacro.cpp | 30 +- test/clang-rename/Namespace.cpp | 12 + test/clang-rename/NoNewName.cpp | 22 +- test/clang-rename/ReinterpretCastExpr.cpp | 7 +- test/clang-rename/StaticCastExpr.cpp | 21 +- ...TemplateClassInstantiationFindByDeclaration.cpp | 44 +++ .../TemplateClassInstantiationFindByTypeUse.cpp | 44 +++ .../TemplateFunctionFindByDeclaration.cpp | 15 + test/clang-rename/TemplateFunctionFindByUse.cpp | 12 + test/clang-rename/TemplateTypename.cpp | 12 + .../TemplateTypenameFindByTemplateParam.cpp | 22 ++ .../TemplateTypenameFindByTypeInside.cpp | 20 ++ test/clang-rename/UserDefinedConversion.cpp | 11 + .../UserDefinedConversionFindByTypeDeclaration.cpp | 24 ++ test/clang-rename/VarTest.cpp | 24 -- test/clang-rename/Variable.cpp | 25 ++ test/clang-rename/VariableMacro.cpp | 16 + ...eguidelines-pro-bounds-constant-array-index.cpp | 11 + test/clang-tidy/cppcoreguidelines-slicing.cpp | 100 ++++++ ...eguidelines-special-member-functions-cxx-03.cpp | 26 ++ .../cppcoreguidelines-special-member-functions.cpp | 52 +++ test/clang-tidy/modernize-loop-convert-extra.cpp | 12 + test/clang-tidy/modernize-use-emplace.cpp | 94 +++++- test/clang-tidy/readability-identifier-naming.cpp | 10 +- test/include-fixer/commandline_options.cpp | 6 +- unittests/clang-rename/CMakeLists.txt | 2 + unittests/include-fixer/IncludeFixerTest.cpp | 87 ++++- 94 files changed, 2270 insertions(+), 1034 deletions(-) create mode 100644 clang-tidy/cppcoreguidelines/SlicingCheck.cpp create mode 100644 clang-tidy/cppcoreguidelines/SlicingCheck.h create mode 100644 clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.cpp create mode 100644 clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.h create mode 100644 docs/clang-tidy/checks/cppcoreguidelines-slicing.rst create mode 100644 docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst create mode 100644 include-fixer/tool/clang-include-fixer.el create mode 100644 test/clang-rename/ClassAsTemplateArgumentFindByClass.cpp create mode 100644 test/clang-rename/ClassAsTemplateArgumentFindByTemplateArgument.cpp create mode 100644 test/clang-rename/ClassFindByName.cpp create mode 100644 test/clang-rename/ClassNameInFunctionDefinition.cpp create mode 100644 test/clang-rename/ClassReplacements.cpp create mode 100644 test/clang-rename/ClassSimpleRenaming.cpp delete mode 100644 test/clang-rename/ClassTest.cpp delete mode 100644 test/clang-rename/ClassTestByName.cpp delete mode 100644 test/clang-rename/ClassTestReplacements.cpp create mode 100644 test/clang-rename/ComplicatedClassType.cpp delete mode 100644 test/clang-rename/CtorDefTest.cpp create mode 100644 test/clang-rename/CtorFindByDeclaration.cpp create mode 100644 test/clang-rename/CtorFindByDefinition.cpp create mode 100644 test/clang-rename/CtorInitializer.cpp delete mode 100644 test/clang-rename/CtorInitializerTest.cpp create mode 100644 test/clang-rename/DtorDeclaration.cpp delete mode 100644 test/clang-rename/DtorDefTest.cpp create mode 100644 test/clang-rename/DtorDefinition.cpp create mode 100644 test/clang-rename/Field.cpp delete mode 100644 test/clang-rename/FieldTest.cpp create mode 100644 test/clang-rename/FunctionMacro.cpp create mode 100644 test/clang-rename/FunctionWithClassFindByName.cpp create mode 100644 test/clang-rename/InvalidNewName.cpp create mode 100644 test/clang-rename/Namespace.cpp create mode 100644 test/clang-rename/TemplateClassInstantiationFindByDeclaration.cpp create mode 100644 test/clang-rename/TemplateClassInstantiationFindByTypeUse.cpp create mode 100644 test/clang-rename/TemplateFunctionFindByDeclaration.cpp create mode 100644 test/clang-rename/TemplateFunctionFindByUse.cpp create mode 100644 test/clang-rename/TemplateTypename.cpp create mode 100644 test/clang-rename/TemplateTypenameFindByTemplateParam.cpp create mode 100644 test/clang-rename/TemplateTypenameFindByTypeInside.cpp create mode 100644 test/clang-rename/UserDefinedConversion.cpp create mode 100644 test/clang-rename/UserDefinedConversionFindByTypeDeclaration.cpp delete mode 100644 test/clang-rename/VarTest.cpp create mode 100644 test/clang-rename/Variable.cpp create mode 100644 test/clang-rename/VariableMacro.cpp create mode 100644 test/clang-tidy/cppcoreguidelines-slicing.cpp create mode 100644 test/clang-tidy/cppcoreguidelines-special-member-functions-cxx-03.cpp create mode 100644 test/clang-tidy/cppcoreguidelines-special-member-functions.cpp