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 0a23612 Updating branches/google/stable to r288914 adds 792be7a [change-namespace] don't fix using shadow decls in classes. adds 0dfe436 [change-namespace] always add a '::' prefix when a symbol ref [...] adds 63e25ba [clang-move] Use appendArgumentsAdjuster for adding extra arguments adds d297a3c [clang-move] Fix buildbot failures adds 17880e7 [clang-tidy] Add check for redundant function pointer dereferences adds 40c759d [clang-move] Fix incorrect EndLoc for declarations in macros. adds 15736a6 Remove deprecated methods ast_matchers::BoundNodes::{getStmtA [...] adds b317b48 [Clang-tidy] check for malloc, realloc and free calls adds 33610f7 Remove trailing whitespace in docs and clang-tidy sources. adds f8718c6 Fix sphinx build. adds 3eb355a Fix size_t typdef in new cppcoreguidelines-no-malloc.cpp test adds f2f54ef [powerpc] deactivate readability-identifier-naming.cpp test o [...] adds 94a7ed0 [ClangTidy] Add new performance-type-promotion-in-math-fn check. adds 56809b6 [clang-tidy] Suggest including <cmath> if necessary in type-p [...] adds 0d8381b Replace APFloatBase static fltSemantics data members with get [...] adds 2cd835e modernize-use-auto NFC fixes adds 7a76f53 Deleted unused typedef adds d493570 [change-namespace] don't crash when type reference is in func [...] adds bdc8d92 [clang-tidy] Enhance modernize-use-auto to templated function casts adds 5f559f3 [change-namespace] handling templated type aliases correctly. adds 1a52049 [change-namespace] fix a case references to templated using a [...] adds e390d91 [clang-tidy] Do not move parameter if only DeclRefExpr occurs [...] adds f5cd9f4 [clang-tidy] fix missing anchor for MPI Module adds a080ed5 [include-fixer] Desugar incomplete types. adds c090703 [clang-tidy] Remove duplicated check from move-constructor-init adds 31ec885 [change-namespace] do not fix calls to overloaded operator fu [...] adds 5d13e3b [clang-tidy] Add modernize-use-default-member-init check adds f425463 Comment out char16_t and char32_t tests adds c1f42fc [clang-tidy] Ignore `size() == 0` in the container implementation. adds a55193e [clang-tidy] cppcoreguidelines-slicing: display discarded sta [...] adds 6f71d52 [change-namespace] consider namespace aliases to shorten qual [...] adds 3f32ce3 [clang-tidy] Flag implicit conversion operators. adds fb6802d [clang-tidy] refactor ExprSequence out of use-after-move check adds bd616de [clang-tidy] Remove local hasInClassInitializer matcher. NFC adds 7c5e7c8 [clang-tidy] Add enum misuse check. adds 12c4f9d Attempt to fix non-determinism in tests. adds dcd5649 [clang-tidy] Replace dead link in modernize-pass-by-value doc adds 6057e88 [clang-tidy] Make 2 checks register matchers for C++ only. adds 046e611 [clang-tidy] google-explicit-constructor: ignore compiler-gen [...] adds 9fece24 Fix another nondeterminism in a tidy test. adds a600126 [clang-tidy] Add check 'misc-string-compare'. adds 72b9471 [clang-tidy] google-explicit-constructor: ignore template ins [...] adds 2228334 [clang-tidy] google-explicit-constructor: ignore macros adds 6a5d329 [clang-tidy] Add delete null pointer check. adds fdf645d Extend documentation of how to test clang-tidy checks. adds 3424f85 [clang-move] Only move used helper declarations. adds f74e4f5 [clang-tidy] Handle constructors in performance-unnecessary-v [...] adds 7ee33c1 [clang-move] Support moving enum declarations. adds 6b97b9e [clang-tidy] Add check name to YAML export (clang-tools-extra part) adds 5e9d977 [change-namespace] get newlines around moved namespace right. adds a7cbf92 [clang-move] Support moving type alias declarations. adds 9e7c3af [clang-tidy] Ignore default arguments in modernize-default-me [...] adds f1c6412 Fix for shared_ptrification in Clang adds 33cbbc9 Fixes for Clang API change adds a09220a Revert "Fix for shared_ptrification in Clang" adds 8739742 Reapply "Fix for shared_ptrification in Clang" adds c697bdf [include-fixer] Load symbol index asynchronously. adds f8b47d3 Only launch asynchronously if threading is enabled. adds 46a54cd Improve include fixer's ranking by taking the paths into account. adds c21e894 [find-all-symbols] Index partial template specializations. adds 1b8b112 Correctly classify main file includes if there is a prefix added adds e5f476a [clang-tidy] Fix check for trivially copyable types in modern [...] adds 35d88f6 Update docs/conf.py version adds 74dbdfd Clear the release notes for 5.0.0 adds 1a15ce4 Fix the build of the include-fixer plugin for some shared cma [...] adds 80752b3 Remove unused lambda captures. NFC adds 4ff6e02 Remove unused lambda captures. NFC adds f5fe3dd [clang-move] Dump enum and type alias declarations. adds 9440e6a Update tools to use new getStyle API adds b12e51d [clang-move] Ignore using decls which are defined in macros. adds cf8b61b [clang-move] Handle helpers with forward declarations. adds 2b2a053 Remove dead code. adds e52f09f [clang-tidy] Fix crash in modernize-use-using (http://llvm.or [...] adds ec21d5a [include-fixer] Don't return a correction if the header inser [...] adds efe1e13 [clang-tidy] Add -extra-arg and -extra-arg-before to run-clan [...] adds 4c65cdd [docs] Tell Doxygen to expand LLVM_ALIGNAS to nothing adds b83a544 [clang-tidy] Do not trigger move fix for non-copy assignment [...] adds d61565a [clang-tidy] Ignore implicit functions in performance-unneces [...] adds 4e5862b [clang-tidy] Add more tests for modernize-use-using. adds 303b272 [clang-tidy] Avoid incorrect fixes in modernize-use-using adds ebced34 [clang-tidy] Fix NOLINT test adds 8b9a210 [clang-tidy] Don't modernize-raw-string-literal if replacemen [...] adds 77f599e [change-namespace] add leading '::' to references in new name [...] adds 9f23fe8 [change-namespace] correctly shorten namespace when reference [...] adds 620c212 Implement a new clang-tidy check that suggests users replace [...] adds 7434e51 Correcting a typo in the test case to appease bots. adds 8868baf [Clang-tidy documentation] Consistency (fix-it); 80 character [...] adds 09c9f08 Revert "Implement a new clang-tidy check that suggests users [...] adds 4eaf800 [clang-tidy] Remove debug logging. adds 386a2b5 [clang-tidy] misc-argument-comment: ignore comments after arguments adds 7badc8b [clang-tidy] misc-argument-comment support for gmock adds ca88c6c [change-namespace] check using shadow decl correctly when sho [...] adds cd94893 [change-namespace] fix unscoped enum constant references. adds ecfd84e [change-namespace] trying to fix build bot failure caused by [...] adds 6d0c72a [clang-tidy] getPreviousNonCommentToken -> getPreviousToken adds fa6a3f0 [clang-tidy] misc-argument-comment support for gmock adds cc1636f [clang-tidy] safety-no-assembler adds 2f216c4 [clang-tidy] Cleanup of no-assembler check adds dba377d Add a prototype for clangd adds a329eb3 [clangd] Add missing include. adds 0b5e09a [clang-tidy] misc-argument-comment - extended gmock support adds fcbf96a [clangd] Harden test against sed implementations that strip \r. adds 21b99cc [clangd] Set stdin to binary to fix tests on windows. adds 50fad25 Disable test on windows buildbots without shell support adds 957be0e [clangd] Fix subtle use after return. adds 90cf0cd [clangd] Ignore comments in clangd input, so we can write tes [...] adds 840878a [clangd] Strip file:// from the URI when calling formatting. adds c097f38 [clang-tidy] Supresses misc-move-constructor-init warning for [...] adds 2d0a949 [clang-tidy] hasErrorOccurred() -> hasUncompilableErrorOccurred() adds 1b3a2e8 [clang-tidy] Add -extra-arg and -extra-arg-before to clang-ti [...] adds f7b6727 [clang-tidy] Fix misc-unused-using-decls false positives in p [...] adds c2e903e [clang-tidy] Add -quiet option to suppress extra output adds c79e404 Don't try to link to the 4.0 release notes adds 4911bc7 Adds the commandline need to run clang-tidy tests. adds f5f712d [CMake] Fix pthread handling for out-of-tree builds adds ce89400 [clangd] Refactor stream output into a single thread-safe out [...] adds 1325bfa [clang-tidy] Fix handling of function types in google-readabi [...] adds 7124156 [clangd] Move isDone from the JSONOutput to ShutdownHandler. adds 6f50622 Fix memory leak by using unique_ptr adds 8cbddd9 [clang-tidy] Fix for bug 31838: readability-delete-null-point [...] adds 7dd96d9 [clang-tidy] Fix for bug 31838: readability-delete-null-point [...] adds 80a40fe [change-namespace] add an option to dump changed files in YAML. adds 0d7e3fa [clang-tidy] Reduce indentation. NFC. adds 0d4134d [clang-tidy] Add readability-misleading-indentation check. adds e3b4050 [clang-tidy] Improve diagnostic message for misc-definitions- [...] adds 87be7d4 [clang-tidy] Add support for NOLINTNEXTLINE. adds 29bd459 [clang-tidy] Don't warn about call to unresolved operator* adds 2839af5 [clang-tidy] Ignore instantiated functions and static data me [...] adds d8ce003 [clangd] Wire up ASTUnit and publish diagnostics with it. adds f137373 [clangd] Add missing include. adds 879f167 [clangd] Fix use after free. adds 073f518 [clang-tidy] Don't delay parsing of templates in test for mis [...] adds 9e89563 [clangd] Initialize the thread after the mutex. adds 7227430 [clangd] Synchronize logs access. adds 0ae386f [clangd] Silence GCC warning about falling off a fully covere [...] adds fc86ad8 [clangd] Fix another use after free that I missed because COW [...] adds 929f8cc [clang-tidy] Add check 'modernize-return-braced-init-list' adds 783ba73 Fixed indentation issue in release notes adds 11af989 [clang-tidy] Fix test modernize-return-braced-init-list adds 46bb9c3 [clang-tidy] Ignore spaces between globs in the Checks option. adds 616e383 [clangd] Implement format on type adds 3ff1a15 [clangd] Fix Output.log error adds 636a667 Fix clang-move test after clang-format update r295312 adds e1c634d [clang-tidy] Add cert-dcl58-cpp (do not modify the 'std' name [...] adds ca2538f [Docs] 'Limitations' should be a subsection adds 365a594 [clang-tidy] Add -path option to clang-tidy-diff.py adds 7de9810 Fix windows buildbots that don't have full shell support adds 566eae1 [clang-tidy] google-readability-casting: Handle user-defined [...] adds 135c59a clangd/ASTManager.cpp: Appease msc19 Debug build -- Don't der [...] adds c30b89a [clang-tidy] Reword the "code outside header guard" warning. adds e71483a Adds a hook clang-include-fixer-add-include-hook that is invo [...] adds 75982c2 Completion related fixes for clang-include-fixer.el. adds afa8b87 Make clang-include-fixer--insert-line work when the differenc [...] adds 5978f7d [clang-tidy] Fix readability-redundant-declaration false positive adds b892e27 [change-namepsace] make it possible to whitelist symbols so t [...] adds 2884ca9 [change-namespace] fix asan failure in r296110. adds 19c0735 [clang-move] Extend clang-move to support moving global variable. adds b56e1b9 [clangd] Make clangd install to bin adds 5f53780 [include-fixer] Add usage count to find-all-symbols. adds 94ffb65 [change-namespace] trying to fix windows buildbot failure. adds 1b7cfa4 [find-all-symbols] Implement operator== for SymbolAndSignals [...] adds 9aa5429 Misspelled checker description (argument comment) adds 9172f2f [clang-tidy] Fix a false positive on modernize-use-nullptr check. adds 4db6d3f [clang-tidy] Fix handling of methods with try-statement as a [...] adds c0ac570 [clang-tidy] Add parametercount for readibility-function-size adds d4170a8 [change-namespace] get insertion points of forward declaratio [...] adds 8c748c6 [clangd] Add a toy VS Code integration for development purposes adds 72f44cc [clang-tidy] Attempt to fix the test where exceptions are dis [...] adds 6fbfc84 [clangd] Add support for FixIts. adds ef841ba [clangd] Unbreak the shared build. adds adf171c [clang-tidy] Function names configurable for cppcoreguideline [...] adds 66dad9d [clangd] Fix a potential race by copying the FixIts out of AS [...] adds 54e0681 [clang-tidy] Fix a few more issues in google-readability-casting adds 4c9c5b3 [clang-tidy] google-readability-casting: detect redundant cas [...] adds 75c562b [clang-tidy] google-readability-casting: don't use constructo [...] adds 58b93f8 [clang-tidy] Format code around applied fixes adds c357ded [clang-tidy] Fix modernize-use-emplace docs adds f56576f [clang-tidy] Yet another docs fixes adds 0170b37 Replaced UserNullMacros with NullMacros in modernize-use-null [...] adds e247f82 [clang-tidy] misc-use-after-move: Fix failing assertion adds be4a8c0 Revert "[clang-tidy] misc-use-after-move: Fix failing assertion" adds 4a04229 [clang-tidy] Ignore substituted template types in modernize-u [...] adds 8661cee Do not display highlights for clang-include-fixer-at-point adds 392f2f9 [clang-tidy] misc-use-after-move: Fix failing assertion adds 93b0a7d [clang-tidy] readability-function-size: remove default param [...] adds 4671b3e [clang-tidy] Update the doc according to r297311. adds 32420e9 [include-fixer] Remove line number from Symbol identity adds fa387ef [clang-rename] Introduce an unittest skeleton for clang-rename. adds d8c2a53 [include-fixer] Add fuzzy SymbolIndex, where identifier needn [...] adds 8d86b35 Add the 'AllowSoleDefaultDtor' and 'AllowMissingMoveFunctions [...] new 943ab70 Updating branches/google/stable to r297704
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 + change-namespace/ChangeNamespace.cpp | 334 ++++++-- change-namespace/ChangeNamespace.h | 16 +- change-namespace/tool/ClangChangeNamespace.cpp | 70 +- .../Tooling/ApplyReplacements.h | 21 +- .../lib/Tooling/ApplyReplacements.cpp | 85 +- .../tool/ClangApplyReplacementsMain.cpp | 30 +- clang-move/CMakeLists.txt | 2 + clang-move/ClangMove.cpp | 289 +++++-- clang-move/ClangMove.h | 30 +- clang-move/HelperDeclRefGraph.cpp | 137 ++++ clang-move/HelperDeclRefGraph.h | 99 +++ clang-move/tool/ClangMoveMain.cpp | 41 +- clang-query/Query.cpp | 9 +- clang-query/QueryParser.cpp | 4 +- clang-query/tool/ClangQuery.cpp | 8 +- clang-tidy/CMakeLists.txt | 1 + clang-tidy/ClangTidy.cpp | 56 +- clang-tidy/ClangTidy.h | 3 +- clang-tidy/ClangTidyDiagnosticConsumer.cpp | 102 ++- clang-tidy/ClangTidyDiagnosticConsumer.h | 42 +- clang-tidy/cert/CERTTidyModule.cpp | 8 +- clang-tidy/cert/CMakeLists.txt | 1 + clang-tidy/cert/DontModifyStdNamespaceCheck.cpp | 49 ++ ...eptionCheck.h => DontModifyStdNamespaceCheck.h} | 18 +- clang-tidy/cppcoreguidelines/CMakeLists.txt | 1 + .../CppCoreGuidelinesTidyModule.cpp | 2 + clang-tidy/cppcoreguidelines/NoMallocCheck.cpp | 82 ++ clang-tidy/cppcoreguidelines/NoMallocCheck.h | 62 ++ .../cppcoreguidelines/ProTypeMemberInitCheck.cpp | 8 +- clang-tidy/cppcoreguidelines/SlicingCheck.cpp | 5 +- .../SpecialMemberFunctionsCheck.cpp | 114 ++- .../SpecialMemberFunctionsCheck.h | 12 +- clang-tidy/google/AvoidCStyleCastsCheck.cpp | 135 ++-- clang-tidy/google/ExplicitConstructorCheck.cpp | 42 +- clang-tidy/google/NonConstReferences.cpp | 2 +- clang-tidy/llvm/TwineLocalCheck.cpp | 2 +- clang-tidy/misc/ArgumentCommentCheck.cpp | 171 +++- clang-tidy/misc/ArgumentCommentCheck.h | 2 - .../misc/BoolPointerImplicitConversionCheck.cpp | 4 +- clang-tidy/misc/CMakeLists.txt | 2 + clang-tidy/misc/DefinitionsInHeadersCheck.cpp | 17 +- clang-tidy/misc/IncorrectRoundings.cpp | 6 +- clang-tidy/misc/MiscTidyModule.cpp | 5 + clang-tidy/misc/MoveConstructorInitCheck.cpp | 84 +- clang-tidy/misc/MoveConstructorInitCheck.h | 6 - clang-tidy/misc/MoveForwardingReferenceCheck.cpp | 3 +- clang-tidy/misc/MultipleStatementMacroCheck.cpp | 2 +- clang-tidy/misc/StringCompareCheck.cpp | 82 ++ .../{UnusedRAIICheck.h => StringCompareCheck.h} | 17 +- clang-tidy/misc/SuspiciousEnumUsageCheck.cpp | 216 ++++++ ...ngCompareCheck.h => SuspiciousEnumUsageCheck.h} | 25 +- clang-tidy/misc/SuspiciousSemicolonCheck.cpp | 4 +- clang-tidy/misc/SwappedArgumentsCheck.cpp | 2 +- .../misc/ThrowByValueCatchByReferenceCheck.cpp | 6 +- .../misc/UnconventionalAssignOperatorCheck.cpp | 5 +- clang-tidy/misc/UndelegatedConstructor.cpp | 2 +- clang-tidy/misc/UnusedRAIICheck.cpp | 6 +- clang-tidy/misc/UnusedUsingDeclsCheck.cpp | 3 + clang-tidy/misc/UseAfterMoveCheck.cpp | 273 +------ clang-tidy/modernize/CMakeLists.txt | 2 + clang-tidy/modernize/LoopConvertCheck.cpp | 30 +- clang-tidy/modernize/LoopConvertUtils.cpp | 2 +- clang-tidy/modernize/ModernizeTidyModule.cpp | 6 + clang-tidy/modernize/PassByValueCheck.cpp | 14 +- clang-tidy/modernize/PassByValueCheck.h | 1 + clang-tidy/modernize/RawStringLiteralCheck.cpp | 21 +- clang-tidy/modernize/RawStringLiteralCheck.h | 3 +- clang-tidy/modernize/ReturnBracedInitListCheck.cpp | 97 +++ ...voidBindCheck.h => ReturnBracedInitListCheck.h} | 20 +- clang-tidy/modernize/UseAutoCheck.cpp | 50 +- clang-tidy/modernize/UseDefaultMemberInitCheck.cpp | 238 ++++++ clang-tidy/modernize/UseDefaultMemberInitCheck.h | 45 ++ clang-tidy/modernize/UseEqualsDeleteCheck.cpp | 3 + clang-tidy/modernize/UseNullptrCheck.cpp | 9 +- clang-tidy/modernize/UseOverrideCheck.cpp | 15 +- clang-tidy/modernize/UseUsingCheck.cpp | 81 +- clang-tidy/mpi/TypeMismatchCheck.cpp | 2 +- clang-tidy/performance/CMakeLists.txt | 1 + clang-tidy/performance/PerformanceTidyModule.cpp | 6 +- .../performance/TypePromotionInMathFnCheck.cpp | 205 +++++ ...ueParamCheck.h => TypePromotionInMathFnCheck.h} | 32 +- .../performance/UnnecessaryValueParamCheck.cpp | 48 +- clang-tidy/plugin/ClangTidyPlugin.cpp | 5 + clang-tidy/readability/CMakeLists.txt | 3 + clang-tidy/readability/ContainerSizeEmptyCheck.cpp | 4 +- clang-tidy/readability/DeleteNullPointerCheck.cpp | 85 ++ ...etedDefaultCheck.h => DeleteNullPointerCheck.h} | 18 +- clang-tidy/readability/FunctionSizeCheck.cpp | 15 +- clang-tidy/readability/FunctionSizeCheck.h | 3 + clang-tidy/readability/ImplicitBoolCastCheck.cpp | 2 +- .../readability/MisleadingIndentationCheck.cpp | 103 +++ .../readability/MisleadingIndentationCheck.h | 41 + clang-tidy/readability/NamespaceCommentCheck.cpp | 2 +- clang-tidy/readability/ReadabilityTidyModule.cpp | 9 + .../readability/RedundantDeclarationCheck.cpp | 14 +- .../RedundantFunctionPtrDereferenceCheck.cpp | 37 + ...ck.h => RedundantFunctionPtrDereferenceCheck.h} | 16 +- .../readability/RedundantMemberInitCheck.cpp | 3 + .../readability/RedundantSmartptrGetCheck.cpp | 4 +- .../readability/RedundantStringCStrCheck.cpp | 6 +- clang-tidy/{boost => safety}/CMakeLists.txt | 6 +- clang-tidy/safety/NoAssemblerCheck.cpp | 51 ++ .../NoAssemblerCheck.h} | 20 +- .../SafetyTidyModule.cpp} | 24 +- clang-tidy/tool/CMakeLists.txt | 1 + clang-tidy/tool/ClangTidyMain.cpp | 56 +- clang-tidy/tool/clang-tidy-diff.py | 20 + clang-tidy/tool/run-clang-tidy.py | 22 +- clang-tidy/utils/CMakeLists.txt | 1 + clang-tidy/utils/DeclRefExprUtils.cpp | 60 +- clang-tidy/utils/DeclRefExprUtils.h | 27 +- clang-tidy/utils/ExprSequence.cpp | 182 +++++ clang-tidy/utils/ExprSequence.h | 124 +++ clang-tidy/utils/FixItHintUtils.cpp | 2 +- clang-tidy/utils/HeaderGuard.cpp | 12 +- clang-tidy/utils/IncludeSorter.cpp | 3 +- clang-tidy/utils/LexerUtils.cpp | 6 +- clang-tidy/utils/LexerUtils.h | 7 +- clangd/ASTManager.cpp | 234 ++++++ clangd/ASTManager.h | 98 +++ clangd/CMakeLists.txt | 18 + clangd/ClangDMain.cpp | 114 +++ clangd/DocumentStore.h | 86 ++ clangd/JSONRPCDispatcher.cpp | 131 ++++ clangd/JSONRPCDispatcher.h | 85 ++ clangd/Protocol.cpp | 572 ++++++++++++++ clangd/Protocol.h | 239 ++++++ clangd/ProtocolHandlers.cpp | 180 +++++ clangd/ProtocolHandlers.h | 120 +++ clangd/clients/clangd-vscode/.gitignore | 2 + clangd/clients/clangd-vscode/.vscode/launch.json | 28 + clangd/clients/clangd-vscode/.vscode/settings.json | 9 + clangd/clients/clangd-vscode/.vscode/tasks.json | 30 + clangd/clients/clangd-vscode/.vscodeignore | 9 + clangd/clients/clangd-vscode/README.txt | 11 + clangd/clients/clangd-vscode/package.json | 37 + clangd/clients/clangd-vscode/src/extension.ts | 42 + .../clients/clangd-vscode/test/extension.test.ts | 15 + clangd/clients/clangd-vscode/test/index.ts | 22 + clangd/clients/clangd-vscode/tsconfig.json | 29 + .../clangd-vscode/vsc-extension-quickstart.md | 33 + docs/ModularizeUsage.rst | 2 +- docs/ReleaseNotes.rst | 126 +-- docs/clang-tidy/checks/cert-dcl58-cpp.rst | 21 + docs/clang-tidy/checks/cert-err34-c.rst | 4 +- .../checks/cppcoreguidelines-no-malloc.rst | 46 ++ ...oreguidelines-pro-type-static-cast-downcast.rst | 2 +- .../cppcoreguidelines-special-member-functions.rst | 28 + .../checks/google-explicit-constructor.rst | 49 +- docs/clang-tidy/checks/list.rst | 11 + docs/clang-tidy/checks/misc-argument-comment.rst | 5 +- .../checks/misc-move-constructor-init.rst | 10 - docs/clang-tidy/checks/misc-sizeof-expression.rst | 2 +- docs/clang-tidy/checks/misc-string-compare.rst | 54 ++ .../checks/misc-suspicious-enum-usage.rst | 78 ++ docs/clang-tidy/checks/modernize-pass-by-value.rst | 9 +- .../checks/modernize-return-braced-init-list.rst | 22 + docs/clang-tidy/checks/modernize-use-auto.rst | 9 +- .../checks/modernize-use-default-member-init.rst | 49 ++ docs/clang-tidy/checks/modernize-use-emplace.rst | 15 +- docs/clang-tidy/checks/modernize-use-nullptr.rst | 4 +- .../checks/modernize-use-transparent-functors.rst | 6 +- .../performance-type-promotion-in-math-fn.rst | 11 + .../checks/readability-delete-null-pointer.rst | 13 + .../checks/readability-function-size.rst | 5 + .../checks/readability-misleading-indentation.rst | 38 + ...dability-redundant-function-ptr-dereference.rst | 24 + docs/clang-tidy/checks/safety-no-assembler.rst | 10 + docs/clang-tidy/index.rst | 71 +- docs/conf.py | 6 +- docs/doxygen.cfg.in | 8 +- include-fixer/CMakeLists.txt | 1 + include-fixer/FuzzySymbolIndex.cpp | 143 ++++ include-fixer/FuzzySymbolIndex.h | 55 ++ include-fixer/InMemorySymbolIndex.cpp | 8 +- include-fixer/InMemorySymbolIndex.h | 7 +- include-fixer/IncludeFixer.cpp | 41 +- include-fixer/IncludeFixer.h | 2 +- include-fixer/SymbolIndex.h | 2 +- include-fixer/SymbolIndexManager.cpp | 154 ++-- include-fixer/SymbolIndexManager.h | 26 +- include-fixer/YamlSymbolIndex.cpp | 13 +- include-fixer/YamlSymbolIndex.h | 6 +- include-fixer/find-all-symbols/FindAllMacros.cpp | 49 +- include-fixer/find-all-symbols/FindAllMacros.h | 18 + include-fixer/find-all-symbols/FindAllSymbols.cpp | 136 ++-- include-fixer/find-all-symbols/FindAllSymbols.h | 14 +- .../find-all-symbols/FindAllSymbolsAction.cpp | 4 +- include-fixer/find-all-symbols/SymbolInfo.cpp | 69 +- include-fixer/find-all-symbols/SymbolInfo.h | 54 +- include-fixer/find-all-symbols/SymbolReporter.h | 4 +- .../find-all-symbols/tool/FindAllSymbolsMain.cpp | 54 +- include-fixer/plugin/CMakeLists.txt | 1 + include-fixer/plugin/IncludeFixerPlugin.cpp | 35 +- include-fixer/tool/ClangIncludeFixer.cpp | 102 ++- include-fixer/tool/clang-include-fixer-test.el | 23 + include-fixer/tool/clang-include-fixer.el | 90 ++- modularize/CoverageChecker.cpp | 15 +- modularize/CoverageChecker.h | 7 +- modularize/Modularize.cpp | 4 +- modularize/ModularizeUtilities.cpp | 48 +- modularize/ModularizeUtilities.h | 2 - modularize/ModuleAssistant.cpp | 15 +- modularize/PreprocessorTracker.cpp | 70 +- pp-trace/PPTrace.cpp | 3 +- test/CMakeLists.txt | 1 + test/change-namespace/Inputs/fake-std.h | 5 + test/change-namespace/lambda-function.cpp | 17 +- test/change-namespace/white-list.cpp | 19 + .../Inputs/basic/file1.yaml | 36 +- .../Inputs/basic/file2.yaml | 12 +- .../Inputs/conflict/file1.yaml | 28 +- .../Inputs/conflict/file2.yaml | 28 +- .../Inputs/conflict/file3.yaml | 12 +- .../Inputs/crlf/file1.yaml | 12 +- .../clang-apply-replacements/Inputs/format/no.yaml | 12 +- .../Inputs/format/yes.yaml | 36 +- test/clang-move/Inputs/enum.h | 9 + test/clang-move/Inputs/helper_decls_test.cpp | 97 +++ test/clang-move/Inputs/helper_decls_test.h | 39 + test/clang-move/Inputs/macro_helper_test.cpp | 13 + test/clang-move/Inputs/macro_helper_test.h | 2 + test/clang-move/Inputs/multiple_class_test.cpp | 8 +- test/clang-move/Inputs/type_alias.h | 11 + test/clang-move/Inputs/var_test.cpp | 6 + test/clang-move/Inputs/var_test.h | 11 + test/clang-move/move-enum-decl.cpp | 44 ++ test/clang-move/move-multiple-classes.cpp | 11 +- test/clang-move/move-type-alias.cpp | 52 ++ test/clang-move/move-used-helper-decls.cpp | 438 +++++++++++ test/clang-move/move-var.cpp | 46 ++ test/clang-move/no-move-macro-helpers.cpp | 43 + .../Inputs/Headers/system-header-simulation.h | 24 + .../Inputs/modernize-pass-by-value/header.h | 3 + test/clang-tidy/boost-use-to-string.cpp | 24 +- test/clang-tidy/cert-dcl58-cpp.cpp | 67 ++ test/clang-tidy/clang-tidy-diff.cpp | 9 + test/clang-tidy/clean-up-code.cpp | 2 + .../cppcoreguidelines-no-malloc-custom.cpp | 59 ++ .../cppcoreguidelines-no-malloc-no-functions.cpp | 17 + test/clang-tidy/cppcoreguidelines-no-malloc.cpp | 42 + test/clang-tidy/cppcoreguidelines-slicing.cpp | 10 +- ...eguidelines-special-member-functions-cxx-03.cpp | 2 +- ...uidelines-special-member-functions-relaxed.cpp} | 12 +- .../cppcoreguidelines-special-member-functions.cpp | 7 +- test/clang-tidy/file-filter.cpp | 34 +- test/clang-tidy/google-explicit-constructor.cpp | 47 ++ test/clang-tidy/google-readability-casting.c | 2 + test/clang-tidy/google-readability-casting.cpp | 199 ++++- test/clang-tidy/misc-argument-comment-gmock.cpp | 108 +++ test/clang-tidy/misc-argument-comment.cpp | 2 + test/clang-tidy/misc-definitions-in-headers.hpp | 16 +- .../misc-forward-declaration-namespace.cpp | 2 +- test/clang-tidy/misc-move-constructor-init.cpp | 22 +- test/clang-tidy/misc-redundant-expression.cpp | 26 +- test/clang-tidy/misc-sizeof-expression.cpp | 28 +- test/clang-tidy/misc-string-compare.cpp | 119 +++ test/clang-tidy/misc-string-constructor.cpp | 6 +- .../misc-suspicious-enum-usage-strict.cpp | 98 +++ test/clang-tidy/misc-suspicious-enum-usage.cpp | 90 +++ test/clang-tidy/misc-suspicious-semicolon-fail.cpp | 18 +- test/clang-tidy/misc-swapped-arguments.cpp | 4 +- .../misc-unconventional-assign-operator.cpp | 24 +- test/clang-tidy/misc-unused-using-decls-errors.cpp | 12 + test/clang-tidy/misc-use-after-move.cpp | 17 +- test/clang-tidy/modernize-pass-by-value-header.cpp | 2 +- .../modernize-pass-by-value-macro-header.cpp | 2 + test/clang-tidy/modernize-pass-by-value.cpp | 18 +- .../modernize-raw-string-literal-delimiter.cpp | 2 +- ...odernize-raw-string-literal-replace-shorter.cpp | 13 + test/clang-tidy/modernize-raw-string-literal.cpp | 2 +- .../modernize-return-braced-init-list.cpp | 198 +++++ test/clang-tidy/modernize-shrink-to-fit.cpp | 8 +- .../modernize-use-auto-cast-remove-stars.cpp | 97 ++- test/clang-tidy/modernize-use-auto-cast.cpp | 92 +++ ...odernize-use-default-member-init-assignment.cpp | 184 +++++ .../modernize-use-default-member-init.cpp | 382 +++++++++ test/clang-tidy/modernize-use-nullptr.cpp | 33 + test/clang-tidy/modernize-use-override.cpp | 16 +- .../modernize-use-transparent-functors.cpp | 2 +- test/clang-tidy/modernize-use-using.cpp | 63 ++ test/clang-tidy/nolint.cpp | 15 +- test/clang-tidy/nolintnextline.cpp | 33 + .../performance-type-promotion-in-math-fn.cpp | 316 ++++++++ ...performance-unnecessary-value-param-delayed.cpp | 14 +- .../performance-unnecessary-value-param.cpp | 63 +- ...readability-braces-around-statements-format.cpp | 33 + .../readability-container-size-empty.cpp | 14 + .../clang-tidy/readability-delete-null-pointer.cpp | 86 ++ test/clang-tidy/readability-function-size.cpp | 9 +- test/clang-tidy/readability-identifier-naming.cpp | 3 + .../readability-misleading-indentation.cpp | 80 ++ .../readability-redundant-declaration.cpp | 24 +- ...dability-redundant-function-ptr-dereference.cpp | 24 + test/clang-tidy/safety-no-assembler.cpp | 13 + test/clang-tidy/static-analyzer-config.cpp | 2 +- test/clang-tidy/werrors-diagnostics.cpp | 5 + test/clang-tidy/werrors-plural.cpp | 6 + test/clang-tidy/werrors.cpp | 3 + test/clangd/diagnostics.test | 17 + test/clangd/fixits.test | 22 + test/clangd/formatting.test | 66 ++ test/include-fixer/Inputs/fake_yaml_db.yaml | 46 +- test/include-fixer/Inputs/merge/a.yaml | 8 +- test/include-fixer/Inputs/merge/b.yaml | 8 +- test/include-fixer/merge.test | 12 +- test/include-fixer/ranking.cpp | 3 + test/include-fixer/yaml_fuzzy.cpp | 9 + unittests/CMakeLists.txt | 1 + .../change-namespace/ChangeNamespaceTests.cpp | 864 ++++++++++++++++++++- unittests/clang-move/ClangMoveTests.cpp | 92 ++- .../CMakeLists.txt | 14 +- unittests/clang-rename/ClangRenameTests.cpp | 153 ++++ .../clang-tidy/ClangTidyDiagnosticConsumerTest.cpp | 4 +- unittests/clang-tidy/IncludeInserterTest.cpp | 85 +- unittests/clang-tidy/LLVMModuleTest.cpp | 148 ++-- unittests/clang-tidy/NamespaceAliaserTest.cpp | 3 +- unittests/clang-tidy/UsingInserterTest.cpp | 3 +- unittests/include-fixer/CMakeLists.txt | 1 + unittests/include-fixer/FuzzySymbolIndexTests.cpp | 61 ++ unittests/include-fixer/IncludeFixerTest.cpp | 88 ++- .../find-all-symbols/FindAllSymbolsTests.cpp | 415 ++++++---- 323 files changed, 12888 insertions(+), 2240 deletions(-) create mode 100644 clang-move/HelperDeclRefGraph.cpp create mode 100644 clang-move/HelperDeclRefGraph.h create mode 100644 clang-tidy/cert/DontModifyStdNamespaceCheck.cpp copy clang-tidy/cert/{StaticObjectExceptionCheck.h => DontModifyStdNamespaceCheck. [...] create mode 100644 clang-tidy/cppcoreguidelines/NoMallocCheck.cpp create mode 100644 clang-tidy/cppcoreguidelines/NoMallocCheck.h create mode 100644 clang-tidy/misc/StringCompareCheck.cpp copy clang-tidy/misc/{UnusedRAIICheck.h => StringCompareCheck.h} (55%) create mode 100644 clang-tidy/misc/SuspiciousEnumUsageCheck.cpp copy clang-tidy/misc/{SuspiciousStringCompareCheck.h => SuspiciousEnumUsageCheck.h} (53%) create mode 100644 clang-tidy/modernize/ReturnBracedInitListCheck.cpp copy clang-tidy/modernize/{AvoidBindCheck.h => ReturnBracedInitListCheck.h} (51%) create mode 100644 clang-tidy/modernize/UseDefaultMemberInitCheck.cpp create mode 100644 clang-tidy/modernize/UseDefaultMemberInitCheck.h create mode 100644 clang-tidy/performance/TypePromotionInMathFnCheck.cpp copy clang-tidy/performance/{UnnecessaryValueParamCheck.h => TypePromotionInMathFn [...] create mode 100644 clang-tidy/readability/DeleteNullPointerCheck.cpp copy clang-tidy/readability/{DeletedDefaultCheck.h => DeleteNullPointerCheck.h} (57%) create mode 100644 clang-tidy/readability/MisleadingIndentationCheck.cpp create mode 100644 clang-tidy/readability/MisleadingIndentationCheck.h create mode 100644 clang-tidy/readability/RedundantFunctionPtrDereferenceCheck.cpp copy clang-tidy/readability/{RedundantDeclarationCheck.h => RedundantFunctionPtrDe [...] copy clang-tidy/{boost => safety}/CMakeLists.txt (61%) create mode 100644 clang-tidy/safety/NoAssemblerCheck.cpp copy clang-tidy/{misc/UnusedRAIICheck.h => safety/NoAssemblerCheck.h} (54%) copy clang-tidy/{boost/BoostTidyModule.cpp => safety/SafetyTidyModule.cpp} (51%) create mode 100644 clang-tidy/utils/ExprSequence.cpp create mode 100644 clang-tidy/utils/ExprSequence.h create mode 100644 clangd/ASTManager.cpp create mode 100644 clangd/ASTManager.h create mode 100644 clangd/CMakeLists.txt create mode 100644 clangd/ClangDMain.cpp create mode 100644 clangd/DocumentStore.h create mode 100644 clangd/JSONRPCDispatcher.cpp create mode 100644 clangd/JSONRPCDispatcher.h create mode 100644 clangd/Protocol.cpp create mode 100644 clangd/Protocol.h create mode 100644 clangd/ProtocolHandlers.cpp create mode 100644 clangd/ProtocolHandlers.h create mode 100644 clangd/clients/clangd-vscode/.gitignore create mode 100644 clangd/clients/clangd-vscode/.vscode/launch.json create mode 100644 clangd/clients/clangd-vscode/.vscode/settings.json create mode 100644 clangd/clients/clangd-vscode/.vscode/tasks.json create mode 100644 clangd/clients/clangd-vscode/.vscodeignore create mode 100644 clangd/clients/clangd-vscode/README.txt create mode 100644 clangd/clients/clangd-vscode/package.json create mode 100644 clangd/clients/clangd-vscode/src/extension.ts create mode 100644 clangd/clients/clangd-vscode/test/extension.test.ts create mode 100644 clangd/clients/clangd-vscode/test/index.ts create mode 100644 clangd/clients/clangd-vscode/tsconfig.json create mode 100644 clangd/clients/clangd-vscode/vsc-extension-quickstart.md create mode 100644 docs/clang-tidy/checks/cert-dcl58-cpp.rst create mode 100644 docs/clang-tidy/checks/cppcoreguidelines-no-malloc.rst create mode 100644 docs/clang-tidy/checks/misc-string-compare.rst create mode 100644 docs/clang-tidy/checks/misc-suspicious-enum-usage.rst create mode 100644 docs/clang-tidy/checks/modernize-return-braced-init-list.rst create mode 100644 docs/clang-tidy/checks/modernize-use-default-member-init.rst create mode 100644 docs/clang-tidy/checks/performance-type-promotion-in-math-fn.rst create mode 100644 docs/clang-tidy/checks/readability-delete-null-pointer.rst create mode 100644 docs/clang-tidy/checks/readability-misleading-indentation.rst create mode 100644 docs/clang-tidy/checks/readability-redundant-function-ptr-deref [...] create mode 100644 docs/clang-tidy/checks/safety-no-assembler.rst create mode 100644 include-fixer/FuzzySymbolIndex.cpp create mode 100644 include-fixer/FuzzySymbolIndex.h create mode 100644 test/change-namespace/Inputs/fake-std.h create mode 100644 test/change-namespace/white-list.cpp create mode 100644 test/clang-move/Inputs/enum.h create mode 100644 test/clang-move/Inputs/helper_decls_test.cpp create mode 100644 test/clang-move/Inputs/helper_decls_test.h create mode 100644 test/clang-move/Inputs/macro_helper_test.cpp create mode 100644 test/clang-move/Inputs/macro_helper_test.h create mode 100644 test/clang-move/Inputs/type_alias.h create mode 100644 test/clang-move/Inputs/var_test.cpp create mode 100644 test/clang-move/Inputs/var_test.h create mode 100644 test/clang-move/move-enum-decl.cpp create mode 100644 test/clang-move/move-type-alias.cpp create mode 100644 test/clang-move/move-used-helper-decls.cpp create mode 100644 test/clang-move/move-var.cpp create mode 100644 test/clang-move/no-move-macro-helpers.cpp create mode 100644 test/clang-tidy/Inputs/Headers/system-header-simulation.h create mode 100644 test/clang-tidy/cert-dcl58-cpp.cpp create mode 100644 test/clang-tidy/cppcoreguidelines-no-malloc-custom.cpp create mode 100644 test/clang-tidy/cppcoreguidelines-no-malloc-no-functions.cpp create mode 100644 test/clang-tidy/cppcoreguidelines-no-malloc.cpp copy test/clang-tidy/{cppcoreguidelines-special-member-functions.cpp => cppcoregui [...] create mode 100644 test/clang-tidy/misc-argument-comment-gmock.cpp create mode 100644 test/clang-tidy/misc-string-compare.cpp create mode 100644 test/clang-tidy/misc-suspicious-enum-usage-strict.cpp create mode 100644 test/clang-tidy/misc-suspicious-enum-usage.cpp create mode 100644 test/clang-tidy/misc-unused-using-decls-errors.cpp create mode 100644 test/clang-tidy/modernize-raw-string-literal-replace-shorter.cpp create mode 100644 test/clang-tidy/modernize-return-braced-init-list.cpp create mode 100644 test/clang-tidy/modernize-use-default-member-init-assignment.cpp create mode 100644 test/clang-tidy/modernize-use-default-member-init.cpp create mode 100644 test/clang-tidy/nolintnextline.cpp create mode 100644 test/clang-tidy/performance-type-promotion-in-math-fn.cpp create mode 100644 test/clang-tidy/readability-braces-around-statements-format.cpp create mode 100644 test/clang-tidy/readability-delete-null-pointer.cpp create mode 100644 test/clang-tidy/readability-misleading-indentation.cpp create mode 100644 test/clang-tidy/readability-redundant-function-ptr-dereference.cpp create mode 100644 test/clang-tidy/safety-no-assembler.cpp create mode 100644 test/clangd/diagnostics.test create mode 100644 test/clangd/fixits.test create mode 100644 test/clangd/formatting.test create mode 100644 test/include-fixer/yaml_fuzzy.cpp copy unittests/{change-namespace => clang-rename}/CMakeLists.txt (52%) create mode 100644 unittests/clang-rename/ClangRenameTests.cpp create mode 100644 unittests/include-fixer/FuzzySymbolIndexTests.cpp