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 7ab8a679 Updating branches/google/stable to r302012 adds 5c5d5cf9 [clang-tidy] Code cleanup, (almost) NFC (*). adds 99db6f42 [clang-tidy] fix readability-implicit-bool-cast false alarm o [...] adds 379f9417 [clang-tidy] fix readability-implicit-bool-cast false positiv [...] adds e063bac8 [clangd] Add documentation page adds 0fdef8c9 [clang-tidy] Fix misc-move-const-arg for move-only types. adds 81761c71 [clang-tidy] Fix PR32896: detect initializer lists in moderni [...] adds 64baad85 [clang-tidy] Use cxxStdInitializerListExpr in modernize-use-emplace adds 601fb397 [clang-tidy] Ignore private =deleted methods in macros. adds 84ad9018 clang-tidy: add IgnoreMacros option to modernize-use-default- [...] adds a2266105 [clang-tidy] Fix readability-implicit-bool-cast false positives adds 28f18ab2 docs: Fix Sphinx detection with out-of-tree builds adds 58fc013d [clang-tidy] Minor cleanup + a disabled test case for PR26228. NFC adds 2743016c Change EOL style to LF. NFC adds 6f11cc03 [clang-tidy] Allow disabling compatibility check for generate [...] adds 20b8d6f0 [clang-tidy] Add new cert-dcl21-cpp check adds bb247ac1 [clang-tidy][CMake] Make clang-tidy usable as distribution component adds ac8f049f [clang-tidy] Add a test for PR33020 adds 02206dd9 [include-fixer] Don't throw exception when parsing unknown ar [...] adds 872d5135 [clang-tidy] TwineLocalCheck: add param # checking adds ebbd4711 Test commit(changed comment) adds 7434a9ef [ClangD] Refactor clangd into separate components adds f69165ae Fix windows buildbots - missing include and namespace adds 9e124471 [clang-tidy] Partly rewrite readability-simplify-boolean-expr [...] adds 6d3e8c72 Make google-build-using-namespace skip std::.*literals adds f2be6674 Revert "Fix windows buildbots - missing include and namespace" adds a196a6f1 Revert "[ClangD] Refactor clangd into separate components" adds ef5be379 [clang-tidy] Fix a typo: dequeue => deque adds e0898113 [clang-tidy] modernize-use-emplace: Remove unnecessary make_t [...] adds a744789f Revert "[clang-tidy] modernize-use-emplace: Remove unnecessar [...] adds cbee4173 [clang-tidy] modernize-use-emplace: Remove unnecessary make_t [...] adds f392d18b Restored r303067 and fixed failing test. adds b63045dd Fixing compilation failures on buildbots. adds 18140c41 [clang-tidy] Add "emplace_back" detection in inefficient-vect [...] adds 53c6ae92 [clangd] Refactor ProtocolHandlers to decouple them from Clan [...] adds 80306681 Added missing includes in clangd to fix the build. adds fd8f1623 [clang-tidy] Optimize matchers in readability-implicit-bool-c [...] adds 19071e26 [clang-tidy] Optimize readability-implicit-bool-cast, NFC adds 6565dfe7 [clang-tidy] Speed up performance-unnecessary-value-param check adds 62ed7397 [clang-tidy] Optimize misc-unused-parameters. NFCI adds 26395925 Revert "[include-fixer] Don't throw exception when parsing un [...] adds 3947b157 [clang-tidy] A bit of refactoring of modernize-replace-auto-ptr. NFC adds 89b8d592 Recommit "[include-fixer] Don't throw exception when parsing [...] adds 7caa29c6 [clang-tidy] Replace matchesName with hasName where no regex [...] adds 3461e3d0 Change getChecksFilter() interface to hide implementation details. adds 7aae6879 [clang-tidy] Optimize GlobList::contains adds 674352cd Fix 'not all control paths return a value' warning on windows [...] adds b1ad225b [clangd] Make formatting.test asynchronous again. adds aa48ea5a [clangd] Switch to incomplete translation units adds 09668ff6 [clang-tidy] readability-braces-around-statements false posit [...] adds 1d1da0a3 [clang-tidy] readability-redundant-declaration false positive [...] adds e71a5672 [clang-tidy] misc-move-const-arg shouldn't complain on std::m [...] adds 1070d24e [clangd] Split clangd into library+executable (mainly for uni [...] adds 20c7aa02 [clangd] Pick up deps via LLVM components, which will hopeful [...] adds 5d56c70e [clangd] Explicitly link against pthread. adds 6f066d07 [clangd] Replaced WorkerRequest with std::function... adds c3cbd965 [clangd] Added a missing dependency on clangdAST to fix the build adds f41d7f11 [clang-tidy] Do not dereference a null BaseType adds 092a04b5 Modify test so that it looks for patterns in stderr as well adds 99fc8d55 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-ext [...] adds 58530336 Disable MSVC-Compat mode for two tests that use C++Operator Names adds d21dac18 Clang-tidy doesn't understand -fno-ms-compatibility, so just [...] adds 5f802ead Revert 303872/303877 since the patch that caused these issues [...] adds 8ec9d7c5 [Documentation] Mention hicpp check group in Clang-tidy main [...] adds 4440a1ec Earlier revert introduced an extra space, remove it. adds e9e3da4a [clangd] Allow to use vfs::FileSystem for file accesses. adds 96c47487 [clangd] Attempt to fix tests failing on Windows adds b788cea4 ClangdTests.cpp: Fix a possible typo, it was "if (TmpDir2 != [...] adds e72d92ea ClangdTests.cpp: Use "clang/Config/config.h" instead of "llvm [...] adds be58f035 [clang-tidy] Use getLocalOrGlobal for the StrictMode option adds a6af523b [clangd] Mark results of clangd requests with a tag provided [...] adds 8a73c96b clang-rename: add new -force option adds eaa9ccfa [clang-tidy] check for __func__/__FUNCTION__ in lambdas adds 339e089e Fix formatting in docs. adds 36ec4d39 [clang-tidy] Add `const` to operator() to fix a warning. adds 81bb1846 [clang-tidy] Make misc-static-assert accept assert(!"msg") adds d2bd4757 [clang-tidy] misc-inaccurate-erase: support call by pointer adds bdc214d0 Adjust SetVersionPrinter call for D33899 adds 6b62a19c [clang-tidy] Make misc-inaccurate-erase work with real C++11 [...] adds 407b4a57 [clang-tidy] When" -fno-exceptions is used", this warning is [...] adds c97778ff [clang-tidy] When" -fno-exceptions is used", this warning is [...] adds 3c911a69 [clang-tidy] New checker to replace dynamic exception specifications adds 83688a23 [clangd] Add parameter and return type information to complet [...] adds 3d69c410 [clangd] Separate authority less uris from completion tests adds 9ef3e3fd [clangd] extend completion test adds f08f13c9 Wdocumentation fix. adds 7d52aa17 [clang-tidy] Use -fexceptions explicitly in the tests that ne [...] adds 70b2503f [clangd] Update for ASTUnit API change. adds e4e9e1a4 Revert "[clang-tidy] When" -fno-exceptions is used", this war [...] adds 1a9e6ec7 [clang-tools-extra] ReleaseNotes.rst: test commit: whitespace fix adds 9fd3636d [clang-tidy] readability-function-size: add NestingThreshold param. adds 2a9062cb [clang-tidy] D33930: Do not pick up by default the LLVM style [...] adds 3abfa60a [clangd] Use 'std::string' for VFSTag instead of 'int' adds 4762d256 [clangd] Allow to override contents of the file during completion. adds db6bcde6 Revert "[clangd] Allow to override contents of the file durin [...] adds b9aff4d3 [clangd] Allow to override contents of the file during completion. adds 58aa38eb [clangd] Store references instead of unique_ptrs in ClangdServer. adds f69ec2c9 [clangd] A comment for ClangdServer's constructor. NFC. adds 90704ecd [clangd] Add a filename parameter to FileSystemProvider. adds eb6a951a Update callbacks tracker to match change in 305425 adds e2e0e3d3 Update Append Argument to more efficiently traverse tokens adds 04487ca3 [clangd] Add priority to completion item sort text adds 05cb0e14 [clang-tidy] readability-function-size: fix nesting level cal [...] new 75159c73 Updating branches/google/stable to r305862
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: .../tool/ClangApplyReplacementsMain.cpp | 6 +- clang-rename/USRFindingAction.cpp | 12 +- clang-rename/USRFindingAction.h | 5 +- clang-rename/tool/ClangRename.cpp | 11 +- clang-tidy/ClangTidy.cpp | 16 +- clang-tidy/ClangTidyDiagnosticConsumer.cpp | 1265 ++++++++++---------- clang-tidy/ClangTidyDiagnosticConsumer.h | 21 +- clang-tidy/ClangTidyModule.cpp | 3 +- clang-tidy/cert/CERTTidyModule.cpp | 3 + clang-tidy/cert/CMakeLists.txt | 1 + clang-tidy/cert/PostfixOperatorCheck.cpp | 88 ++ ...jectExceptionCheck.h => PostfixOperatorCheck.h} | 18 +- clang-tidy/cert/StaticObjectExceptionCheck.cpp | 2 +- clang-tidy/google/UsingNamespaceDirectiveCheck.cpp | 20 + clang-tidy/google/UsingNamespaceDirectiveCheck.h | 3 + clang-tidy/llvm/TwineLocalCheck.cpp | 5 +- clang-tidy/misc/CMakeLists.txt | 1 + .../misc/ForwardingReferenceOverloadCheck.cpp | 294 ++--- clang-tidy/misc/InaccurateEraseCheck.cpp | 37 +- clang-tidy/misc/LambdaFunctionNameCheck.cpp | 99 ++ clang-tidy/misc/LambdaFunctionNameCheck.h | 51 + clang-tidy/misc/MiscTidyModule.cpp | 3 + clang-tidy/misc/MoveConstantArgumentCheck.cpp | 12 + clang-tidy/misc/StaticAssertCheck.cpp | 4 +- clang-tidy/misc/SuspiciousEnumUsageCheck.cpp | 3 +- clang-tidy/misc/UnusedParametersCheck.cpp | 82 +- clang-tidy/misc/UnusedParametersCheck.h | 7 +- clang-tidy/modernize/CMakeLists.txt | 1 + clang-tidy/modernize/MakeSharedCheck.cpp | 2 +- clang-tidy/modernize/MakeUniqueCheck.cpp | 16 +- clang-tidy/modernize/ModernizeTidyModule.cpp | 2 + clang-tidy/modernize/ReplaceAutoPtrCheck.cpp | 210 ++-- clang-tidy/modernize/UseDefaultMemberInitCheck.cpp | 8 +- clang-tidy/modernize/UseDefaultMemberInitCheck.h | 1 + clang-tidy/modernize/UseEmplaceCheck.cpp | 53 +- clang-tidy/modernize/UseEmplaceCheck.h | 2 + clang-tidy/modernize/UseEqualsDeleteCheck.cpp | 9 +- clang-tidy/modernize/UseNoexceptCheck.cpp | 114 ++ .../{UseEmplaceCheck.h => UseNoexceptCheck.h} | 37 +- clang-tidy/modernize/UseUsingCheck.cpp | 2 +- .../InefficientStringConcatenationCheck.cpp | 3 +- .../InefficientVectorOperationCheck.cpp | 38 +- .../performance/UnnecessaryValueParamCheck.cpp | 9 +- .../readability/BracesAroundStatementsCheck.cpp | 17 +- clang-tidy/readability/FunctionSizeCheck.cpp | 41 +- clang-tidy/readability/FunctionSizeCheck.h | 9 +- clang-tidy/readability/ImplicitBoolCastCheck.cpp | 306 ++--- .../readability/RedundantDeclarationCheck.cpp | 11 +- .../readability/SimplifyBooleanExprCheck.cpp | 203 ++-- clang-tidy/readability/SimplifyBooleanExprCheck.h | 18 +- clang-tidy/tool/CMakeLists.txt | 2 +- clang-tidy/tool/run-clang-tidy.py | 4 + clangd/ASTManager.cpp | 440 ------- clangd/ASTManager.h | 162 --- clangd/CMakeLists.txt | 24 +- clangd/ClangdLSPServer.cpp | 262 ++++ clangd/ClangdLSPServer.h | 86 ++ clangd/ClangdMain.cpp | 122 -- clangd/ClangdServer.cpp | 266 ++++ clangd/ClangdServer.h | 212 ++++ clangd/ClangdUnit.cpp | 263 ++++ clangd/ClangdUnit.h | 78 ++ clangd/ClangdUnitStore.cpp | 34 + clangd/ClangdUnitStore.h | 106 ++ clangd/DocumentStore.h | 86 -- clangd/DraftStore.cpp | 49 + clangd/DraftStore.h | 61 + clangd/GlobalCompilationDatabase.cpp | 65 + clangd/GlobalCompilationDatabase.h | 60 + clangd/JSONRPCDispatcher.cpp | 60 + clangd/JSONRPCDispatcher.h | 10 + clangd/Path.h | 29 + clangd/ProtocolHandlers.cpp | 342 +++--- clangd/ProtocolHandlers.h | 138 +-- clangd/{ => tool}/CMakeLists.txt | 7 +- clangd/tool/ClangdMain.cpp | 40 + docs/CMakeLists.txt | 2 +- docs/ReleaseNotes.rst | 35 +- docs/clang-rename.rst | 1 + docs/clang-tidy/checks/cert-dcl21-cpp.rst | 12 + docs/clang-tidy/checks/list.rst | 3 + .../checks/misc-lambda-function-name.rst | 27 + .../checks/modernize-use-default-member-init.rst | 5 + docs/clang-tidy/checks/modernize-use-emplace.rst | 34 + docs/clang-tidy/checks/modernize-use-noexcept.rst | 90 ++ .../performance-inefficient-vector-operation.rst | 6 +- .../checks/readability-function-size.rst | 8 +- docs/clang-tidy/index.rst | 5 +- docs/clangd.rst | 106 ++ docs/index.rst | 1 + include-fixer/tool/clang-include-fixer.py | 7 +- pp-trace/PPCallbacksTracker.cpp | 19 +- test/clang-rename/InvalidQualifiedName.cpp | 4 + test/clang-tidy/cert-dcl21-cpp.cpp | 134 +++ test/clang-tidy/cert-static-object-exception.cpp | 127 +- test/clang-tidy/diagnostic.cpp | 8 +- test/clang-tidy/google-namespaces.cpp | 44 + test/clang-tidy/llvm-twine-local.cpp | 32 + .../misc-forwarding-reference-overload.cpp | 22 + test/clang-tidy/misc-inaccurate-erase.cpp | 28 +- test/clang-tidy/misc-lambda-function-name.cpp | 41 + test/clang-tidy/misc-move-const-arg.cpp | 16 + test/clang-tidy/misc-non-copyable-objects.c | 86 +- test/clang-tidy/misc-static-assert.c | 54 +- test/clang-tidy/misc-static-assert.cpp | 3 + .../misc-undelegated-constructor-cxx98.cpp | 46 +- test/clang-tidy/misc-use-after-move.cpp | 20 + .../modernize-use-default-member-init-macros.cpp | 18 + .../modernize-use-default-member-init.cpp | 9 + test/clang-tidy/modernize-use-emplace.cpp | 168 ++- test/clang-tidy/modernize-use-equals-delete.cpp | 27 + test/clang-tidy/modernize-use-noexcept-macro.cpp | 36 + test/clang-tidy/modernize-use-noexcept-opt.cpp | 88 ++ test/clang-tidy/modernize-use-noexcept.cpp | 104 ++ .../performance-inefficient-vector-operation.cpp | 180 +-- .../readability-braces-around-statements.cpp | 11 + test/clang-tidy/readability-function-size.cpp | 83 +- ...-implicit-bool-cast-allow-conditional-casts.cpp | 10 +- .../readability-implicit-bool-cast-cxx98.cpp | 6 +- test/clang-tidy/readability-implicit-bool-cast.cpp | 10 +- .../readability-redundant-declaration.cpp | 8 + .../{completion.test => authority-less-uri.test} | 28 +- test/clangd/completion.test | 48 +- unittests/CMakeLists.txt | 1 + unittests/clang-rename/ClangRenameTest.h | 2 +- unittests/clangd/CMakeLists.txt | 24 + unittests/clangd/ClangdTests.cpp | 463 +++++++ 127 files changed, 5759 insertions(+), 2783 deletions(-) create mode 100644 clang-tidy/cert/PostfixOperatorCheck.cpp copy clang-tidy/cert/{StaticObjectExceptionCheck.h => PostfixOperatorCheck.h} (54%) create mode 100644 clang-tidy/misc/LambdaFunctionNameCheck.cpp create mode 100644 clang-tidy/misc/LambdaFunctionNameCheck.h create mode 100644 clang-tidy/modernize/UseNoexceptCheck.cpp copy clang-tidy/modernize/{UseEmplaceCheck.h => UseNoexceptCheck.h} (50%) delete mode 100644 clangd/ASTManager.cpp delete mode 100644 clangd/ASTManager.h create mode 100644 clangd/ClangdLSPServer.cpp create mode 100644 clangd/ClangdLSPServer.h delete mode 100644 clangd/ClangdMain.cpp create mode 100644 clangd/ClangdServer.cpp create mode 100644 clangd/ClangdServer.h create mode 100644 clangd/ClangdUnit.cpp create mode 100644 clangd/ClangdUnit.h create mode 100644 clangd/ClangdUnitStore.cpp create mode 100644 clangd/ClangdUnitStore.h delete mode 100644 clangd/DocumentStore.h create mode 100644 clangd/DraftStore.cpp create mode 100644 clangd/DraftStore.h create mode 100644 clangd/GlobalCompilationDatabase.cpp create mode 100644 clangd/GlobalCompilationDatabase.h create mode 100644 clangd/Path.h copy clangd/{ => tool}/CMakeLists.txt (74%) create mode 100644 clangd/tool/ClangdMain.cpp create mode 100644 docs/clang-tidy/checks/cert-dcl21-cpp.rst create mode 100644 docs/clang-tidy/checks/misc-lambda-function-name.rst create mode 100644 docs/clang-tidy/checks/modernize-use-noexcept.rst create mode 100644 docs/clangd.rst create mode 100644 test/clang-rename/InvalidQualifiedName.cpp create mode 100644 test/clang-tidy/cert-dcl21-cpp.cpp create mode 100644 test/clang-tidy/misc-lambda-function-name.cpp create mode 100644 test/clang-tidy/modernize-use-default-member-init-macros.cpp create mode 100644 test/clang-tidy/modernize-use-noexcept-macro.cpp create mode 100644 test/clang-tidy/modernize-use-noexcept-opt.cpp create mode 100644 test/clang-tidy/modernize-use-noexcept.cpp copy test/clangd/{completion.test => authority-less-uri.test} (50%) create mode 100644 unittests/clangd/CMakeLists.txt create mode 100644 unittests/clangd/ClangdTests.cpp