This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch testing in repository clang-tools-extra.
from 4d9e9bf Updating branches/google/testing to r273260 adds 5170460 [clang-tidy] Add modernize-use-emplace adds 2a11e9e [clang-apply-replacements] use Range::operator==() instead of [...] adds 4aca949 clang-rename: add a -old-name option adds d53ad27 Fix clang-tidy patterns to adapt to newly added ExprWithClean [...] adds d4e8cce Fix build of ClangRenameTests adds ed81c08 Remove ignoringImplicit from clang-tidy. adds ddd3748 [clang-tidy] Add modernize-use-using adds 73df095 clang-tools-extra/test/clang-tidy/modernize-use-using.cpp: Sa [...] adds 468afca [clang-tidy] Don't run misc-definitions-in-headers check in f [...] adds 51dfaef [clang-tidy] Warning enum unused using declarations. adds 4b59613 clang-rename: add a -export-fixes option adds 9ffb919 clang-rename: try to make ClassTestReplacements more reliable adds c2f3876 clang-rename: Update libdeps corresponding to r273910. adds ca3f43e [clang-tidy] boost-use-to-string arg expr location bugfix adds 8d30be1 [clang-tidy] Do not match on lambdas. adds 8e73e12 [clang-tidy] UnnecessaryValueParamCheck - suggest std::move() [...] adds 947bf2a [include-fixer] make HeaderMapCollector maps from regex inste [...] adds 1d11685 Fix broken build caused by r274494. adds 0c68172 [clang-tidy] Fix more enum declaration cases in misc-unused-u [...] adds 3ceab05 [include-fixer] reduce stack size by changing RegexHeaderMap [...] adds 3979e83 [clang-include-fixer] fix PEP8 warnings adds a9ec0ac [clang-tidy] UnnecessaryValueParamCheck - only warn for virtu [...] adds 3ff2b7b [clang-tidy] Enhance redundant-expression check adds daea826 [clang-tidy] Add dependency on clang-headers adds 5f159b7 [clang-rename] add basic vim integration adds 73ed17e [include-fixer] Add missing namespace qualifiers after insert [...] adds 199ab96 [clang-rename] fix typo in Python script for Vim integration adds c9974c0 [include-fixer] Pull out Context implementation code to a cpp file. adds 21d7759 [include-fixer] Don't add qualifiers to symbols which have gl [...] adds b8a9906 clang-tidy/readability-identifier-naming: crash on DependentT [...] adds d9c24d8 [clang-tidy] Pass absolute path to OptionsProvider::getOption [...] adds 7331367 Changes related to tooling::applyAllReplacements interface ch [...] adds 8449ee7 fix missing newline in sphinx doc adds 868b161 [clang-tidy] Fix misc-definitions-in-headers misplaced fixing [...] adds 547156e [include-fixer] Implement adding missing namespace qualifiers [...] adds d2fcae1 [include-fixer] Correct an incorrecst judgement about prefix [...] adds 6100efa [clang-rename] exit code-related bugfix and code cleanup adds b2f971b [clang-rename] add documentation adds 5ff5c13 Upgrade all the .arcconfigs to https. adds 9600c64 cppcoreguidelines-pro-bounds-constant-array-index: crash for [...] new f3ff0b5 Updating branches/google/testing to r275480
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: .arcconfig | 2 +- clang-rename/RenamingAction.cpp | 3 +- clang-rename/USRFinder.cpp | 39 +- clang-rename/USRFinder.h | 6 + clang-rename/USRFindingAction.cpp | 9 +- clang-rename/USRFindingAction.h | 3 +- clang-rename/USRLocFinder.cpp | 22 +- clang-rename/USRLocFinder.h | 18 +- clang-rename/tool/CMakeLists.txt | 1 + clang-rename/tool/ClangRename.cpp | 46 +- clang-rename/tool/clang-rename.py | 61 + clang-tidy/ClangTidyOptions.cpp | 9 - clang-tidy/boost/UseToStringCheck.cpp | 2 +- .../ProBoundsConstantArrayIndexCheck.cpp | 4 + clang-tidy/llvm/TwineLocalCheck.cpp | 3 +- clang-tidy/misc/DanglingHandleCheck.cpp | 4 +- clang-tidy/misc/DefinitionsInHeadersCheck.cpp | 8 +- clang-tidy/misc/RedundantExpressionCheck.cpp | 511 ++++++++ clang-tidy/misc/RedundantExpressionCheck.h | 5 + clang-tidy/misc/UnusedUsingDeclsCheck.cpp | 12 +- clang-tidy/modernize/CMakeLists.txt | 2 + clang-tidy/modernize/LoopConvertCheck.cpp | 5 +- clang-tidy/modernize/LoopConvertUtils.cpp | 2 +- clang-tidy/modernize/ModernizeTidyModule.cpp | 4 + clang-tidy/modernize/UseAutoCheck.cpp | 2 + clang-tidy/modernize/UseEmplaceCheck.cpp | 104 ++ .../{UseBoolLiteralsCheck.h => UseEmplaceCheck.h} | 21 +- clang-tidy/modernize/UseUsingCheck.cpp | 93 ++ .../{UseBoolLiteralsCheck.h => UseUsingCheck.h} | 16 +- .../performance/UnnecessaryValueParamCheck.cpp | 93 +- .../performance/UnnecessaryValueParamCheck.h | 13 +- clang-tidy/readability/AvoidConstParamsInDecls.cpp | 12 +- clang-tidy/readability/IdentifierNamingCheck.cpp | 7 +- .../readability/RedundantStringInitCheck.cpp | 18 +- clang-tidy/tool/CMakeLists.txt | 3 + clang-tidy/tool/ClangTidyMain.cpp | 10 +- clang-tidy/utils/DeclRefExprUtils.cpp | 54 +- clang-tidy/utils/DeclRefExprUtils.h | 20 + clang-tidy/utils/Matchers.h | 13 +- clang-tidy/utils/TypeTraits.cpp | 12 + clang-tidy/utils/TypeTraits.h | 6 + docs/ReleaseNotes.rst | 10 + docs/clang-rename.rst | 99 ++ docs/clang-tidy/checks/list.rst | 2 + docs/clang-tidy/checks/modernize-use-emplace.rst | 70 ++ docs/clang-tidy/checks/modernize-use-using.rst | 26 + .../checks/performance-unnecessary-value-param.rst | 24 +- docs/index.rst | 1 + include-fixer/CMakeLists.txt | 1 + include-fixer/IncludeFixer.cpp | 111 +- include-fixer/IncludeFixer.h | 5 +- include-fixer/IncludeFixerContext.cpp | 76 ++ include-fixer/IncludeFixerContext.h | 50 +- include-fixer/SymbolIndexManager.cpp | 27 +- include-fixer/SymbolIndexManager.h | 6 +- .../find-all-symbols/FindAllSymbolsAction.cpp | 5 +- .../find-all-symbols/FindAllSymbolsAction.h | 10 +- .../find-all-symbols/HeaderMapCollector.cpp | 11 +- .../find-all-symbols/HeaderMapCollector.h | 19 +- .../find-all-symbols/STLPostfixHeaderMap.cpp | 1258 ++++++++++---------- .../find-all-symbols/STLPostfixHeaderMap.h | 2 +- include-fixer/find-all-symbols/SymbolInfo.cpp | 10 + include-fixer/find-all-symbols/SymbolInfo.h | 3 + include-fixer/tool/ClangIncludeFixer.cpp | 156 ++- include-fixer/tool/clang-include-fixer.py | 46 +- test/clang-rename/ClassTestByName.cpp | 10 + .../{ClassTest.cpp => ClassTestReplacements.cpp} | 11 +- test/clang-rename/NoNewName.cpp | 20 + test/clang-tidy/boost-use-to-string.cpp | 50 +- ...lines-pro-bounds-constant-array-index-c++03.cpp | 11 + test/clang-tidy/list-checks.cpp | 5 + test/clang-tidy/misc-definitions-in-headers.hpp | 5 +- test/clang-tidy/misc-redundant-expression.cpp | 329 ++++- test/clang-tidy/misc-unused-using-decls.cpp | 22 +- test/clang-tidy/modernize-use-emplace.cpp | 338 ++++++ test/clang-tidy/modernize-use-using.cpp | 87 ++ .../performance-unnecessary-value-param.cpp | 57 + .../readability-avoid-const-params-in-decls.cpp | 4 + test/clang-tidy/readability-identifier-naming.cpp | 6 + test/include-fixer/commandline_options.cpp | 21 +- test/include-fixer/ranking.cpp | 7 +- .../clang-apply-replacements/ReformattingTest.cpp | 4 +- unittests/clang-rename/USRLocFindingTest.cpp | 2 +- unittests/clang-tidy/ClangTidyTest.h | 9 +- unittests/include-fixer/IncludeFixerTest.cpp | 78 +- .../find-all-symbols/FindAllSymbolsTests.cpp | 11 +- 86 files changed, 3448 insertions(+), 945 deletions(-) create mode 100644 clang-rename/tool/clang-rename.py create mode 100644 clang-tidy/modernize/UseEmplaceCheck.cpp copy clang-tidy/modernize/{UseBoolLiteralsCheck.h => UseEmplaceCheck.h} (54%) create mode 100644 clang-tidy/modernize/UseUsingCheck.cpp copy clang-tidy/modernize/{UseBoolLiteralsCheck.h => UseUsingCheck.h} (61%) create mode 100644 docs/clang-rename.rst create mode 100644 docs/clang-tidy/checks/modernize-use-emplace.rst create mode 100644 docs/clang-tidy/checks/modernize-use-using.rst create mode 100644 include-fixer/IncludeFixerContext.cpp create mode 100644 test/clang-rename/ClassTestByName.cpp copy test/clang-rename/{ClassTest.cpp => ClassTestReplacements.cpp} (52%) create mode 100644 test/clang-rename/NoNewName.cpp create mode 100644 test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-ind [...] create mode 100644 test/clang-tidy/list-checks.cpp create mode 100644 test/clang-tidy/modernize-use-emplace.cpp create mode 100644 test/clang-tidy/modernize-use-using.cpp