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 f91bbe1f Creating branches/google/stable and tags/google/stable/ from r317716 adds e11a694d [clangd] Add rename support. adds e6af186b [clangd] Fix compilation database detection adds 739efa62 add new check for property declaration adds dffab709 [clangd] Support returning a limited number of completion results. adds ffa62912 [clangd] Fix time units in clangd performance trace adds c7cc328c [clangd] clang-format the source code. NFC. adds cea22cf9 [clangd] Try to unbreak tests on PS4 by targeting PC explicitly adds 9d5bba66 [clangd] Fix flag name from r318327 adds 8f0cbfe9 [clangd] Revert broken r318329 and disable tests on PS4 adds 0422a854 [clangd] Loosen more brittle tests adds a4debc33 add check to avoid throwing objc exception according to Googl [...] adds 485ef4aa [clangd] Use in-memory preambles in clangd. adds d1e0ffe7 [clang-tidy] Add a check for undelegated copy of base classes adds d0d74790 [clang-tidy] Fix an oversight after renaming a check adds 7cbd080b [clangd] Release the old preamble before building a new one. adds 7007ecbd [clang-tidy] Add new hicpp-multiway-paths-covered check for m [...] adds a766f4a9 extra test modifications for D34158 adds 1072c7a9 [clang-tidy] revert hicpp-multiway-paths-covered adds f756b134 Revert 318668, which is associated with a broken patch adds 2fa0f81d [clangd] Add parsing and value inspection to JSONExpr. adds 1eb25fc7 [clangd] Fix dumb && || bug from r318774 adds c3f4cc03 [clangd] Satisfy GCC: 'changes meaning of Error' adds ee8af807 [clangd] Include the right header for std::isxdigit adds 98bc9cd7 [clangd] Add JSON tests with invalid unicode adds 7d228225 [clangd] use u8 strings in tests to avoid problems on windows adds 777832c4 [clangd] avoid divide by literal zero to satisfy msvc adds b999fb56 Silence some MSVC warnings about not all control paths return [...] adds bfc441c5 [FindAllSymbols] Cache regexes, creating them is expensive adds 432924ce clang-tidy/rename_check.py: support for moving between modules adds 31bdad48 [clang-tidy] Misplaced Operator in Strlen in Alloc adds b771d824 [clang-tidy] Misplaced Operator in Strlen in Alloc adds 26e3369c [clang-tidy] Add support for operator new[] in check bugprone [...] adds 57be59a1 [clang-tidy] Detect bugs in bugprone-misplaced-operator-in-st [...] adds 2e84f57c [clang-tidy] rename_check.py misc-string-constructor bugprone [...] adds b87c8e04 [clang-tidy] rename_check.py: Update '=====...' line in the docs. adds 287d64af Fixing a typo; NFC. adds 75ad4cae [clang-tidy] rename_check.py: fix a bug in check presence detection adds b6d0858a [clangd] Drop impossible completions (unavailable or inaccessible) adds 92154161 [clang-tidy] rename_check.py misc-argument-comment bugprone-a [...] adds 5c83fea4 [clangd] Make completion scores use 0-1 floats internally. adds b8acc957 [clangd] Tracing improvements adds 821d5b63 [clang-tidy] rename_check.py misc-dangling-handle bugprone-da [...] adds b6090a29 [clangd] Ensure preamble outlives the AST adds 1cd563de [clangd] Sort list of sources in CMakeLists.txt. NFC adds 38fab4d3 [clang-tidy] Move a few more checks from misc to bugprone. adds 502b80bd [clang-tidy] rename_check.py: fix header guard handling adds 43f14264 Fix MSVC double-float implicit truncation warning. NFCI adds b2ee0ca1 [clang-tidy] Actually fix header guard handling in scripts adds 563547d4 [clang-tidy] Fix link error (http://llvm.org/PR35417). adds e82bde3b [clang-tidy] readability-non-const-parameter fixes should upd [...] adds ed6994e6 Make helper function static. NFC. adds 29c45365 [clang-tidy] Move checks from misc- to performance- adds cb427202 [clang-tidy] Misc redundant expressions check updated for ove [...] adds 240bf4d1 [clang-tidy] Fix link error in clang-tidy after the recent ch [...] adds d3dee086 [clang-tools-extra] Set up .arcconfig to point to new Diffusi [...] adds db72345c [clang-tools-extra] Fix small typo in docs/ReleaseNotes.rst adds 26568cbc [clang-tidy] Rename qualified references to check class + sup [...] adds 74955733 add new check to find OSSpinlock usage adds d0bf766a Add an option to misc-move-const-arg to not diagnose on trivi [...] adds 91c4b98a run-clang-tidy: Use check_call instead of check_output adds 2b0a5d88 [clangd] Add missing (but documented!) JSONExpr typed accessors adds 9140412c [clangd] Switch from YAMLParser to JSONExpr adds dc4a8734 [clang-tidy] Fix tests for ReplaceRandomShuffleCheck adds 690f486b [clang-tidy] Ignore ExprWithCleanups when looking for else-af [...] adds 0912716e [clang-tidy] Move more checks from misc- to performance- adds 5e3c1f4f Add a new clang-tidy module for Fuchsia as an umbrella to dia [...] adds efa31292 [clangd] Simplify common JSON-parsing patterns in Protocol. adds f28cdef1 [clang-tidy] make readability-simplify-bool-expr completely i [...] adds 1e93ad8c [Documentation] Sort Clang-tidy changes next way: new modules [...] adds 4ced4853 add new check to find NSError init invocation adds 0285b529 add new check to find NSError init invocation adds 9892c71e [clangd] New conventions for JSON-marshalling functions, cent [...] adds dc7edfe9 [Documentation] Style fixes for Objective-C checks documentat [...] adds dfec5ffb [clangd] Log file compile commands adds 6f250f70 [clangd] Logger implicitly adds newline adds 182b48c0 [clangd] Remove no-op -fsyntax-only from fallback command. NFC adds 6831839b [clangd] Filter completion results by fuzzy-matching identifiers. adds fad12f82 [clangd] Fuzzy match scorer adds 54d64b51 [clangd] Define constants in the right namespace. NFC adds 8b7e7a1d [clangd] Try to appease gcc constexpr bug (58541) adds 3f4f0d60 [clangd] Fix FuzzyMatch tests on windows, NFC adds 68be7653 [clangd] Avoid enum in bitfields, can't satisfy old GCC and new MSVC adds aa493725 [clangd] GlobalCompilationDatabase interface changes adds 6254741d [clangd] Split CodeComplete into a separate file. NFC adds 1257732f Fix build after r319688: s/CPlusPlus1z/CPlusPlus17/ adds 582b2ea6 [clangd] Split code-completion tests out of ClangdTests. NFC. adds ee011af6 [clangd] Remove unused test param. NFC adds 1cdb2186 [clangd] Set completion options per-request. adds 909e59a9 [clang-tidy] adjust cppcoreguidelines-owning-memory documentation adds c8ea81e8 Commit access test. adds 08b8ce3f [clangd] Clean up code complete unit tests. NFC adds 3376d397 [CMake] Use PRIVATE in target_link_libraries for executables adds 96f87452 [CMake] Use PRIVATE in target_link_libraries for fuzzers. adds e95f20d0 [clangd-fuzzer] Update contruction of LSPServer. adds 89827634 [change-namespace] Fix crash when injected base-class name is [...] adds e0c44121 [clangd] Convert lit code completion tests to unit-tests. NFC adds f126d29a [clang-tidy] Correctly classify constant arrays and constant [...] adds 27f4dd47 [clangd] Introduced a Context that stores implicit data adds af40d4eb [clangd] Document highlights for clangd adds 27f92230 [clangd] clang-format the code. NFC adds 25993422 [clangd] Removed unused variable. NFC adds 6185e3bf [clangd] Introduce a "Symbol" class. adds 6e14bd2f [clangd] (Attempt to) read clang-format file for document formatting adds 6f62a4b8 [clangd] Overload hash_value for SymbolID, fix struct/class warning adds 637987ae [clangd] Emit ranges for clangd diagnostics, and fix off-by-o [...] adds 518d3b52 [clangd] Remove the const specifier of the takeSymbol method adds d4035d3d [clangd] Implemented logging using Context adds 4f93f1b1 [clangd] clang-format the source code. NFC adds 350ac992 [clangd] Try to workaround MSVC compilation failure. adds fd69cb80 [clangd] Fix bool conversion operator of UniqueFunction adds 6f8293e7 [clangd] Fix the unitttest build error on buildbot. adds 56892337 [clangd] Symbol index interfaces and an in-memory index imple [...] adds 04fa78d7 [clangd] Construct SymbolSlab from YAML format. adds bcbc1297 [clangd] Fix a potential use-after-move bug. adds 0bc8ee01 [clangd] Add a FileSymbols container that manages symbols fro [...] adds 9a5bd0ce [clangd] Implemented tracing using Context adds 64b8582e [clangd] Changed tracing interfaces adds ffd3d648 Add support for NOLINT and NOLINTNEXTLINE comments mentioning [...] adds 4657293c [clangd] Put all #includes in one block in clangd source files. NFC adds 17c91c07 [clangd] Build in-memory index on symbols in files. adds 43d6a1c2 [clang-tidy] Adding Fuchsia checker for virtual inheritance adds 9273ad9c [clangd] in VSCode client, filter extensions properly and onl [...] adds a1741f28 [clangd] Update documentation page with new features, instructions adds c853fe8e Fix more inconsistent line endings. NFC. adds b3f031f8 [clangd] Add unit tests for signature help. SigHelp/CodeCompl [...] adds d572b55b [clangd] Support filtering by fixing scopes in fuzzyFind. adds 81a5eb03 [clangd] Expose offset <-> LSP position functions, and fix bugs adds a50f7cf4 [clangd] Index-based code completion. adds 1686fcf8 [clangd] Fix warnings/compiler pickiness after r321083 adds 553feab6 [clangd] Split findDefs/highlights into XRefs, from ClangdUnit. NFC adds 25616f39 [clangd] Build dynamic index and use it for code completion. adds 03e56fe6 [clangd] Supress a log warning by putting it behind a condition. adds 5291528b [clangd] Don't use the optional "severity" when comparing Dia [...] adds f114dc5e [clangd] Add "../" to Logger.h included from parent directory. adds 44fb880b [clangd] Igore cases in index fuzzy find. adds 1924bbed [clangd] Add debug printers for basic protocol types. NFC adds da675762 [clang-tidy] Misc redundant expression checker updated for in [...] adds b86a86a7 Fix an error in the release notes. adds d1ca8b92 [clangd] Made UniqueFunction's bool conversion explicit adds ecb55af7 [clangd] Switch xrefs and documenthighlight to annotated-code [...] adds bf3c9d97 [clangd] Remove an unused lambda capture. adds 3565d1a1 [clangd] Pull CodeCompletionString handling logic into its ow [...] adds 904da923 [clangd-fuzzer] Update ClangdLSPServer constructor call. adds 3dcb4d85 [clangd] Use the clang-tools-extra as the official repo for ` [...] adds 5b3e2657 [clangd] Log more info about preambles adds 8da30ea0 [clangd] Index symbols share storage within a slab. adds d9ff4deb [clangd] Fix use after free. adds 0b28f174 [clangd] Don't re-hash SymbolID in maps, just use the SHA1 data adds 1b3094d4 Update test after r321312 adds 0bf34062 [clangd] Improve packing of Symbol struct. NFC adds 8889eedb [clangd] Simplify GlobalCompilationDatabase, cache missing GCDs adds fd878884 [clangd] Add a tool to build YAML-format global symbols. adds fb4502db [clang-tidy] Adding Fuchsia checker for overloaded operators adds 13c71d17 Reformatting Fuchsia overloaded operator test adds 05747011 [clangd] Use Builder for symbol slabs, and use sorted-vector [...] adds 4058595c [clangd] Skip function bodies when building the preamble adds 4727c9bc [clangd] Simplify code. No functionality change intended. adds a9e8b888 [clangd] Get rid of unnecessary global variable. No functiona [...] adds 74e0320e Avoid int to string conversion in Twine or raw_ostream contexts. adds fb9df48c [clangd] Properly set filterText for index-based completion items adds 5f459b04 Docs, release notes: update version to 7.0.0 adds 3005fd7f [clang-tidy] Update fuchsia-overloaded-operator to check for [...] adds a84a4b52 [clangd] Fix memory leak in code completion adds 5be22f8f clang-tidy: add IgnoreMacros option to readability-inconsiste [...] adds dc5aa0c9 [clang-tidy] Function-scoped static variables should not trig [...] new ac6cfc33 Creating branches/google/stable and tags/google/stable/2018-0 [...]
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 +- change-namespace/ChangeNamespace.cpp | 4 + change-namespace/tool/CMakeLists.txt | 1 + clang-apply-replacements/tool/CMakeLists.txt | 1 + clang-move/tool/CMakeLists.txt | 1 + clang-query/tool/CMakeLists.txt | 1 + clang-reorder-fields/tool/CMakeLists.txt | 1 + clang-tidy/CMakeLists.txt | 1 + clang-tidy/ClangTidyDiagnosticConsumer.cpp | 49 +- clang-tidy/add_new_check.py | 2 +- .../{misc => bugprone}/ArgumentCommentCheck.cpp | 4 +- .../{misc => bugprone}/ArgumentCommentCheck.h | 10 +- .../{misc => bugprone}/AssertSideEffectCheck.cpp | 4 +- .../{misc => bugprone}/AssertSideEffectCheck.h | 10 +- .../BoolPointerImplicitConversionCheck.cpp | 4 +- .../BoolPointerImplicitConversionCheck.h | 10 +- clang-tidy/bugprone/BugproneTidyModule.cpp | 42 + clang-tidy/bugprone/CMakeLists.txt | 14 + clang-tidy/bugprone/CopyConstructorInitCheck.cpp | 121 +++ clang-tidy/bugprone/CopyConstructorInitCheck.h | 36 + .../{misc => bugprone}/DanglingHandleCheck.cpp | 4 +- .../{misc => bugprone}/DanglingHandleCheck.h | 12 +- .../{misc => bugprone}/FoldInitTypeCheck.cpp | 4 +- clang-tidy/{misc => bugprone}/FoldInitTypeCheck.h | 12 +- .../ForwardDeclarationNamespaceCheck.cpp | 4 +- .../ForwardDeclarationNamespaceCheck.h | 12 +- .../{misc => bugprone}/InaccurateEraseCheck.cpp | 4 +- .../{misc => bugprone}/InaccurateEraseCheck.h | 10 +- .../MisplacedOperatorInStrlenInAllocCheck.cpp | 112 ++ .../MisplacedOperatorInStrlenInAllocCheck.h | 37 + .../MoveForwardingReferenceCheck.cpp | 4 +- .../MoveForwardingReferenceCheck.h | 12 +- .../MultipleStatementMacroCheck.cpp | 4 +- .../MultipleStatementMacroCheck.h | 12 +- .../{misc => bugprone}/StringConstructorCheck.cpp | 4 +- .../{misc => bugprone}/StringConstructorCheck.h | 12 +- .../{misc => bugprone}/UseAfterMoveCheck.cpp | 4 +- clang-tidy/{misc => bugprone}/UseAfterMoveCheck.h | 12 +- .../{misc => bugprone}/VirtualNearMissCheck.cpp | 4 +- .../{misc => bugprone}/VirtualNearMissCheck.h | 12 +- clang-tidy/cert/CERTTidyModule.cpp | 4 +- clang-tidy/cert/CMakeLists.txt | 1 + clang-tidy/fuchsia/CMakeLists.txt | 16 + clang-tidy/fuchsia/DefaultArgumentsCheck.cpp | 64 ++ clang-tidy/fuchsia/DefaultArgumentsCheck.h | 35 + clang-tidy/fuchsia/FuchsiaTidyModule.cpp | 45 + clang-tidy/fuchsia/OverloadedOperatorCheck.cpp | 43 + clang-tidy/fuchsia/OverloadedOperatorCheck.h | 35 + clang-tidy/fuchsia/VirtualInheritanceCheck.cpp | 41 + clang-tidy/fuchsia/VirtualInheritanceCheck.h | 35 + .../google/AvoidThrowingObjCExceptionCheck.cpp | 47 + .../google/AvoidThrowingObjCExceptionCheck.h | 39 + clang-tidy/google/CMakeLists.txt | 1 + .../google/GlobalVariableDeclarationCheck.cpp | 11 +- clang-tidy/google/GoogleTidyModule.cpp | 3 + clang-tidy/hicpp/CMakeLists.txt | 2 + clang-tidy/hicpp/HICPPTidyModule.cpp | 12 +- clang-tidy/misc/CMakeLists.txt | 16 - clang-tidy/misc/MiscTidyModule.cpp | 43 - clang-tidy/misc/MoveConstantArgumentCheck.h | 31 - clang-tidy/misc/RedundantExpressionCheck.cpp | 233 +++- clang-tidy/modernize/PassByValueCheck.cpp | 2 +- clang-tidy/modernize/UnaryStaticAssertCheck.cpp | 2 +- clang-tidy/objc/AvoidNSErrorInitCheck.cpp | 37 + clang-tidy/objc/AvoidNSErrorInitCheck.h | 36 + clang-tidy/objc/AvoidSpinlockCheck.cpp | 37 + clang-tidy/objc/AvoidSpinlockCheck.h | 36 + clang-tidy/objc/CMakeLists.txt | 3 + clang-tidy/objc/ObjCTidyModule.cpp | 9 + clang-tidy/objc/PropertyDeclarationCheck.cpp | 115 ++ clang-tidy/objc/PropertyDeclarationCheck.h | 44 + clang-tidy/performance/CMakeLists.txt | 4 + .../InefficientAlgorithmCheck.cpp | 4 +- .../InefficientAlgorithmCheck.h | 10 +- .../MoveConstArgCheck.cpp} | 20 +- clang-tidy/performance/MoveConstArgCheck.h | 43 + .../MoveConstructorInitCheck.cpp | 4 +- .../MoveConstructorInitCheck.h | 12 +- .../NoexceptMoveConstructorCheck.cpp | 42 +- .../NoexceptMoveConstructorCheck.h | 10 +- clang-tidy/performance/PerformanceTidyModule.cpp | 12 + clang-tidy/readability/ElseAfterReturnCheck.cpp | 3 +- clang-tidy/readability/IdentifierNamingCheck.cpp | 64 +- .../InconsistentDeclarationParameterNameCheck.cpp | 11 + .../InconsistentDeclarationParameterNameCheck.h | 5 +- clang-tidy/readability/NonConstParameterCheck.cpp | 13 +- .../readability/SimplifyBooleanExprCheck.cpp | 5 +- clang-tidy/rename_check.py | 202 +++- clang-tidy/tool/CMakeLists.txt | 2 + clang-tidy/tool/ClangTidyMain.cpp | 5 + clang-tidy/tool/run-clang-tidy.py | 2 +- clangd/CMakeLists.txt | 16 +- clangd/ClangdLSPServer.cpp | 171 ++- clangd/ClangdLSPServer.h | 17 +- clangd/ClangdServer.cpp | 326 ++++-- clangd/ClangdServer.h | 107 +- clangd/ClangdUnit.cpp | 1133 ++++---------------- clangd/ClangdUnit.h | 122 +-- clangd/ClangdUnitStore.cpp | 20 +- clangd/ClangdUnitStore.h | 23 +- clangd/CodeComplete.cpp | 668 ++++++++++++ clangd/CodeComplete.h | 92 ++ clangd/CodeCompletionStrings.cpp | 188 ++++ clangd/CodeCompletionStrings.h | 46 + clangd/Compiler.cpp | 66 ++ clangd/Compiler.h | 47 + clangd/Context.cpp | 24 + clangd/Context.h | 191 ++++ clangd/Function.h | 42 +- clangd/FuzzyMatch.cpp | 377 +++++++ clangd/FuzzyMatch.h | 88 ++ clangd/GlobalCompilationDatabase.cpp | 129 +-- clangd/GlobalCompilationDatabase.h | 36 +- clangd/JSONExpr.cpp | 351 +++++- clangd/JSONExpr.h | 394 ++++++- clangd/JSONRPCDispatcher.cpp | 232 ++-- clangd/JSONRPCDispatcher.h | 48 +- clangd/Logger.cpp | 24 +- clangd/Logger.h | 21 +- clangd/Protocol.cpp | 1050 ++++-------------- clangd/Protocol.h | 216 ++-- clangd/ProtocolHandlers.cpp | 20 +- clangd/ProtocolHandlers.h | 6 +- clangd/SourceCode.cpp | 41 + clangd/SourceCode.h | 29 + clangd/Trace.cpp | 94 +- clangd/Trace.h | 76 +- clangd/XRefs.cpp | 270 +++++ clangd/XRefs.h | 34 + clangd/clients/clangd-vscode/LICENSE | 21 + clangd/clients/clangd-vscode/README.md | 51 + clangd/clients/clangd-vscode/README.txt | 11 - clangd/clients/clangd-vscode/package.json | 20 +- clangd/clients/clangd-vscode/src/extension.ts | 8 +- clangd/fuzzer/CMakeLists.txt | 1 + clangd/fuzzer/ClangdFuzzer.cpp | 6 +- clangd/global-symbol-builder/CMakeLists.txt | 19 + .../GlobalSymbolBuilderMain.cpp | 110 ++ clangd/index/FileIndex.cpp | 84 ++ clangd/index/FileIndex.h | 75 ++ clangd/index/Index.cpp | 85 ++ clangd/index/Index.h | 226 ++++ clangd/index/MemIndex.cpp | 57 + clangd/index/MemIndex.h | 42 + clangd/index/SymbolCollector.cpp | 116 ++ clangd/index/SymbolCollector.h | 40 + clangd/index/SymbolYAML.cpp | 146 +++ clangd/index/SymbolYAML.h | 37 + clangd/tool/CMakeLists.txt | 1 + clangd/tool/ClangdMain.cpp | 64 +- docs/ReleaseNotes.rst | 128 +-- ...t-comment.rst => bugprone-argument-comment.rst} | 6 +- ...-effect.rst => bugprone-assert-side-effect.rst} | 6 +- ... bugprone-bool-pointer-implicit-conversion.rst} | 6 +- .../checks/bugprone-copy-constructor-init.rst | 29 + ...ing-handle.rst => bugprone-dangling-handle.rst} | 6 +- ...d-init-type.rst => bugprone-fold-init-type.rst} | 6 +- ... => bugprone-forward-declaration-namespace.rst} | 6 +- ...ate-erase.rst => bugprone-inaccurate-erase.rst} | 6 +- ...prone-misplaced-operator-in-strlen-in-alloc.rst | 57 + ....rst => bugprone-move-forwarding-reference.rst} | 6 +- ...o.rst => bugprone-multiple-statement-macro.rst} | 6 +- ...tructor.rst => bugprone-string-constructor.rst} | 6 +- ...-after-move.rst => bugprone-use-after-move.rst} | 6 +- ...ear-miss.rst => bugprone-virtual-near-miss.rst} | 6 +- docs/clang-tidy/checks/cert-oop11-cpp.rst | 20 +- .../checks/cppcoreguidelines-owning-memory.rst | 6 +- .../checks/fuchsia-default-arguments.rst | 24 + .../checks/fuchsia-overloaded-operator.rst | 18 + .../checks/fuchsia-virtual-inheritance.rst | 14 + .../google-objc-avoid-throwing-exception.rst | 39 + .../google-objc-global-variable-declaration.rst | 17 +- .../checks/hicpp-invalid-access-moved.rst | 4 +- docs/clang-tidy/checks/hicpp-move-const-arg.rst | 4 +- docs/clang-tidy/checks/list.rst | 49 +- docs/clang-tidy/checks/objc-avoid-nserror-init.rst | 13 + docs/clang-tidy/checks/objc-avoid-spinlock.rst | 15 + .../checks/objc-forbidden-subclassing.rst | 17 +- .../checks/objc-property-declaration.rst | 43 + ...m.rst => performance-inefficient-algorithm.rst} | 6 +- ...onst-arg.rst => performance-move-const-arg.rst} | 14 +- ...t.rst => performance-move-constructor-init.rst} | 6 +- ...t => performance-noexcept-move-constructor.rst} | 6 +- ...ity-inconsistent-declaration-parameter-name.rst | 5 + docs/clang-tidy/index.rst | 51 + docs/clangd.rst | 33 +- docs/conf.py | 4 +- docs/modularize.rst | 152 +-- docs/pp-trace.rst | 160 +-- .../find-all-symbols/HeaderMapCollector.cpp | 22 +- .../find-all-symbols/HeaderMapCollector.h | 12 +- .../find-all-symbols/STLPostfixHeaderMap.cpp | 8 +- include-fixer/find-all-symbols/tool/CMakeLists.txt | 1 + include-fixer/tool/CMakeLists.txt | 1 + modularize/CMakeLists.txt | 1 + pp-trace/CMakeLists.txt | 1 + test/CMakeLists.txt | 4 + ...ock.cpp => bugprone-argument-comment-gmock.cpp} | 2 +- ...ct.cpp => bugprone-argument-comment-strict.cpp} | 2 +- ...t-comment.cpp => bugprone-argument-comment.cpp} | 46 +- ...-effect.cpp => bugprone-assert-side-effect.cpp} | 4 +- ... bugprone-bool-pointer-implicit-conversion.cpp} | 2 +- test/clang-tidy/bugprone-copy-constructor-init.cpp | 188 ++++ ...ing-handle.cpp => bugprone-dangling-handle.cpp} | 6 +- ...d-init-type.cpp => bugprone-fold-init-type.cpp} | 2 +- ... => bugprone-forward-declaration-namespace.cpp} | 6 +- ...ate-erase.cpp => bugprone-inaccurate-erase.cpp} | 4 +- ...ugprone-misplaced-operator-in-strlen-in-alloc.c | 85 ++ ...prone-misplaced-operator-in-strlen-in-alloc.cpp | 58 + ....cpp => bugprone-move-forwarding-reference.cpp} | 2 +- ...o.cpp => bugprone-multiple-statement-macro.cpp} | 4 +- ...tructor.cpp => bugprone-string-constructor.cpp} | 4 +- ...-after-move.cpp => bugprone-use-after-move.cpp} | 2 +- ...ear-miss.cpp => bugprone-virtual-near-miss.cpp} | 4 +- test/clang-tidy/cert-oop11-cpp.cpp | 2 +- .../clang-tidy/cppcoreguidelines-owning-memory.cpp | 2 +- test/clang-tidy/fuchsia-default-arguments.cpp | 81 ++ test/clang-tidy/fuchsia-overloaded-operator.cpp | 21 + test/clang-tidy/fuchsia-virtual-inheritance.cpp | 42 + .../google-objc-avoid-throwing-exception.m | 32 + .../google-objc-global-variable-declaration.m | 6 +- test/clang-tidy/misc-redundant-expression.cpp | 143 ++- test/clang-tidy/modernize-pass-by-value.cpp | 2 +- .../modernize-replace-random-shuffle.cpp | 8 +- test/clang-tidy/nolint.cpp | 15 +- test/clang-tidy/nolintnextline.cpp | 20 +- test/clang-tidy/objc-avoid-nserror-init.m | 12 + test/clang-tidy/objc-avoid-spinlock.m | 15 + test/clang-tidy/objc-property-declaration-custom.m | 14 + test/clang-tidy/objc-property-declaration.m | 12 + ...m.cpp => performance-inefficient-algorithm.cpp} | 6 +- ...rformance-move-const-arg-trivially-copyable.cpp | 98 ++ ...onst-arg.cpp => performance-move-const-arg.cpp} | 94 +- ...t.cpp => performance-move-constructor-init.cpp} | 6 +- ...p => performance-noexcept-move-constructor.cpp} | 10 +- test/clang-tidy/readability-else-after-return.cpp | 18 + test/clang-tidy/readability-identifier-naming.cpp | 53 + ...onsistent-declaration-parameter-name-macros.cpp | 25 + ...ity-inconsistent-declaration-parameter-name.cpp | 19 +- .../clang-tidy/readability-non-const-parameter.cpp | 10 + test/clang-tidy/readability-simplify-bool-expr.cpp | 8 + test/clangd/authority-less-uri.test | 42 +- test/clangd/completion-items-kinds.test | 36 - test/clangd/completion-priorities.test | 86 -- test/clangd/completion-qualifiers.test | 49 - test/clangd/completion-snippet.test | 107 -- test/clangd/completion.test | 192 +--- test/clangd/definitions.test | 421 -------- test/clangd/diagnostics-preamble.test | 1 + test/clangd/diagnostics.test | 10 +- test/clangd/did-change-watch-files.test | 53 - test/clangd/execute-command.test | 8 +- test/clangd/extra-flags.test | 8 +- test/clangd/fixits.test | 14 +- test/clangd/initialize-params-invalid.test | 4 +- test/clangd/initialize-params.test | 2 + test/clangd/lit.local.cfg | 6 + test/clangd/protocol.test | 59 +- test/clangd/rename.test | 50 + test/clangd/signature-help.test | 53 +- test/clangd/trace.test | 18 +- test/clangd/xrefs.test | 67 ++ tool-template/CMakeLists.txt | 1 + unittests/change-namespace/CMakeLists.txt | 1 + .../change-namespace/ChangeNamespaceTests.cpp | 59 +- unittests/clang-apply-replacements/CMakeLists.txt | 1 + unittests/clang-move/CMakeLists.txt | 1 + unittests/clang-query/CMakeLists.txt | 1 + unittests/clang-tidy/CMakeLists.txt | 3 +- unittests/clang-tidy/MiscModuleTest.cpp | 39 - unittests/clangd/Annotations.cpp | 87 ++ unittests/clangd/Annotations.h | 69 ++ unittests/clangd/CMakeLists.txt | 13 + unittests/clangd/ClangdTests.cpp | 593 ++-------- unittests/clangd/CodeCompleteTests.cpp | 588 ++++++++++ unittests/clangd/CodeCompletionStringsTests.cpp | 142 +++ unittests/clangd/ContextTests.cpp | 57 + unittests/clangd/FileIndexTests.cpp | 182 ++++ unittests/clangd/FuzzyMatchTests.cpp | 252 +++++ unittests/clangd/IndexTests.cpp | 212 ++++ unittests/clangd/JSONExprTests.cpp | 205 +++- unittests/clangd/Matchers.h | 113 ++ unittests/clangd/SourceCodeTests.cpp | 72 ++ unittests/clangd/SymbolCollectorTests.cpp | 159 +++ unittests/clangd/TestFS.cpp | 179 ++++ unittests/clangd/TestFS.h | 52 + unittests/clangd/TraceTests.cpp | 10 +- unittests/clangd/XRefsTests.cpp | 218 ++++ unittests/include-fixer/CMakeLists.txt | 1 + .../include-fixer/find-all-symbols/CMakeLists.txt | 1 + 290 files changed, 12064 insertions(+), 4999 deletions(-) rename clang-tidy/{misc => bugprone}/ArgumentCommentCheck.cpp (99%) rename clang-tidy/{misc => bugprone}/ArgumentCommentCheck.h (84%) rename clang-tidy/{misc => bugprone}/AssertSideEffectCheck.cpp (99%) rename clang-tidy/{misc => bugprone}/AssertSideEffectCheck.h (85%) rename clang-tidy/{misc => bugprone}/BoolPointerImplicitConversionCheck.cpp (98%) rename clang-tidy/{misc => bugprone}/BoolPointerImplicitConversionCheck.h (76%) create mode 100644 clang-tidy/bugprone/CopyConstructorInitCheck.cpp create mode 100644 clang-tidy/bugprone/CopyConstructorInitCheck.h rename clang-tidy/{misc => bugprone}/DanglingHandleCheck.cpp (99%) rename clang-tidy/{misc => bugprone}/DanglingHandleCheck.h (78%) rename clang-tidy/{misc => bugprone}/FoldInitTypeCheck.cpp (99%) rename clang-tidy/{misc => bugprone}/FoldInitTypeCheck.h (78%) rename clang-tidy/{misc => bugprone}/ForwardDeclarationNamespaceCheck.cpp (99%) rename clang-tidy/{misc => bugprone}/ForwardDeclarationNamespaceCheck.h (81%) rename clang-tidy/{misc => bugprone}/InaccurateEraseCheck.cpp (98%) rename clang-tidy/{misc => bugprone}/InaccurateEraseCheck.h (81%) create mode 100644 clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.cpp create mode 100644 clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.h rename clang-tidy/{misc => bugprone}/MoveForwardingReferenceCheck.cpp (99%) rename clang-tidy/{misc => bugprone}/MoveForwardingReferenceCheck.h (81%) rename clang-tidy/{misc => bugprone}/MultipleStatementMacroCheck.cpp (98%) rename clang-tidy/{misc => bugprone}/MultipleStatementMacroCheck.h (73%) rename clang-tidy/{misc => bugprone}/StringConstructorCheck.cpp (99%) rename clang-tidy/{misc => bugprone}/StringConstructorCheck.h (74%) rename clang-tidy/{misc => bugprone}/UseAfterMoveCheck.cpp (99%) rename clang-tidy/{misc => bugprone}/UseAfterMoveCheck.h (73%) rename clang-tidy/{misc => bugprone}/VirtualNearMissCheck.cpp (99%) rename clang-tidy/{misc => bugprone}/VirtualNearMissCheck.h (85%) create mode 100644 clang-tidy/fuchsia/CMakeLists.txt create mode 100644 clang-tidy/fuchsia/DefaultArgumentsCheck.cpp create mode 100644 clang-tidy/fuchsia/DefaultArgumentsCheck.h create mode 100644 clang-tidy/fuchsia/FuchsiaTidyModule.cpp create mode 100644 clang-tidy/fuchsia/OverloadedOperatorCheck.cpp create mode 100644 clang-tidy/fuchsia/OverloadedOperatorCheck.h create mode 100644 clang-tidy/fuchsia/VirtualInheritanceCheck.cpp create mode 100644 clang-tidy/fuchsia/VirtualInheritanceCheck.h create mode 100644 clang-tidy/google/AvoidThrowingObjCExceptionCheck.cpp create mode 100644 clang-tidy/google/AvoidThrowingObjCExceptionCheck.h delete mode 100644 clang-tidy/misc/MoveConstantArgumentCheck.h create mode 100644 clang-tidy/objc/AvoidNSErrorInitCheck.cpp create mode 100644 clang-tidy/objc/AvoidNSErrorInitCheck.h create mode 100644 clang-tidy/objc/AvoidSpinlockCheck.cpp create mode 100644 clang-tidy/objc/AvoidSpinlockCheck.h create mode 100644 clang-tidy/objc/PropertyDeclarationCheck.cpp create mode 100644 clang-tidy/objc/PropertyDeclarationCheck.h rename clang-tidy/{misc => performance}/InefficientAlgorithmCheck.cpp (99%) rename clang-tidy/{misc => performance}/InefficientAlgorithmCheck.h (78%) rename clang-tidy/{misc/MoveConstantArgumentCheck.cpp => performance/MoveConstArgC [...] create mode 100644 clang-tidy/performance/MoveConstArgCheck.h rename clang-tidy/{misc => performance}/MoveConstructorInitCheck.cpp (98%) rename clang-tidy/{misc => performance}/MoveConstructorInitCheck.h (76%) rename clang-tidy/{misc => performance}/NoexceptMoveConstructorCheck.cpp (69%) rename clang-tidy/{misc => performance}/NoexceptMoveConstructorCheck.h (79%) create mode 100644 clangd/CodeComplete.cpp create mode 100644 clangd/CodeComplete.h create mode 100644 clangd/CodeCompletionStrings.cpp create mode 100644 clangd/CodeCompletionStrings.h create mode 100644 clangd/Compiler.cpp create mode 100644 clangd/Compiler.h create mode 100644 clangd/Context.cpp create mode 100644 clangd/Context.h create mode 100644 clangd/FuzzyMatch.cpp create mode 100644 clangd/FuzzyMatch.h create mode 100644 clangd/SourceCode.cpp create mode 100644 clangd/SourceCode.h create mode 100644 clangd/XRefs.cpp create mode 100644 clangd/XRefs.h create mode 100644 clangd/clients/clangd-vscode/LICENSE create mode 100644 clangd/clients/clangd-vscode/README.md delete mode 100644 clangd/clients/clangd-vscode/README.txt create mode 100644 clangd/global-symbol-builder/CMakeLists.txt create mode 100644 clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp create mode 100644 clangd/index/FileIndex.cpp create mode 100644 clangd/index/FileIndex.h create mode 100644 clangd/index/Index.cpp create mode 100644 clangd/index/Index.h create mode 100644 clangd/index/MemIndex.cpp create mode 100644 clangd/index/MemIndex.h create mode 100644 clangd/index/SymbolCollector.cpp create mode 100644 clangd/index/SymbolCollector.h create mode 100644 clangd/index/SymbolYAML.cpp create mode 100644 clangd/index/SymbolYAML.h rename docs/clang-tidy/checks/{misc-argument-comment.rst => bugprone-argument-comm [...] rename docs/clang-tidy/checks/{misc-assert-side-effect.rst => bugprone-assert-side [...] rename docs/clang-tidy/checks/{misc-bool-pointer-implicit-conversion.rst => bugpro [...] create mode 100644 docs/clang-tidy/checks/bugprone-copy-constructor-init.rst rename docs/clang-tidy/checks/{misc-dangling-handle.rst => bugprone-dangling-handl [...] rename docs/clang-tidy/checks/{misc-fold-init-type.rst => bugprone-fold-init-type. [...] rename docs/clang-tidy/checks/{misc-forward-declaration-namespace.rst => bugprone- [...] rename docs/clang-tidy/checks/{misc-inaccurate-erase.rst => bugprone-inaccurate-er [...] create mode 100644 docs/clang-tidy/checks/bugprone-misplaced-operator-in-strlen-in [...] rename docs/clang-tidy/checks/{misc-move-forwarding-reference.rst => bugprone-move [...] rename docs/clang-tidy/checks/{misc-multiple-statement-macro.rst => bugprone-multi [...] rename docs/clang-tidy/checks/{misc-string-constructor.rst => bugprone-string-cons [...] rename docs/clang-tidy/checks/{misc-use-after-move.rst => bugprone-use-after-move. [...] rename docs/clang-tidy/checks/{misc-virtual-near-miss.rst => bugprone-virtual-near [...] create mode 100644 docs/clang-tidy/checks/fuchsia-default-arguments.rst create mode 100644 docs/clang-tidy/checks/fuchsia-overloaded-operator.rst create mode 100644 docs/clang-tidy/checks/fuchsia-virtual-inheritance.rst create mode 100644 docs/clang-tidy/checks/google-objc-avoid-throwing-exception.rst create mode 100644 docs/clang-tidy/checks/objc-avoid-nserror-init.rst create mode 100644 docs/clang-tidy/checks/objc-avoid-spinlock.rst create mode 100644 docs/clang-tidy/checks/objc-property-declaration.rst rename docs/clang-tidy/checks/{misc-inefficient-algorithm.rst => performance-ineff [...] rename docs/clang-tidy/checks/{misc-move-const-arg.rst => performance-move-const-a [...] rename docs/clang-tidy/checks/{misc-move-constructor-init.rst => performance-move- [...] rename docs/clang-tidy/checks/{misc-noexcept-move-constructor.rst => performance-n [...] rename test/clang-tidy/{misc-argument-comment-gmock.cpp => bugprone-argument-comme [...] rename test/clang-tidy/{misc-argument-comment-strict.cpp => bugprone-argument-comm [...] rename test/clang-tidy/{misc-argument-comment.cpp => bugprone-argument-comment.cpp} (53%) rename test/clang-tidy/{misc-assert-side-effect.cpp => bugprone-assert-side-effect [...] rename test/clang-tidy/{misc-bool-pointer-implicit-conversion.cpp => bugprone-bool [...] create mode 100644 test/clang-tidy/bugprone-copy-constructor-init.cpp rename test/clang-tidy/{misc-dangling-handle.cpp => bugprone-dangling-handle.cpp} (96%) rename test/clang-tidy/{misc-fold-init-type.cpp => bugprone-fold-init-type.cpp} (98%) rename test/clang-tidy/{misc-forward-declaration-namespace.cpp => bugprone-forward [...] rename test/clang-tidy/{misc-inaccurate-erase.cpp => bugprone-inaccurate-erase.cpp} (97%) create mode 100644 test/clang-tidy/bugprone-misplaced-operator-in-strlen-in-alloc.c create mode 100644 test/clang-tidy/bugprone-misplaced-operator-in-strlen-in-alloc.cpp rename test/clang-tidy/{misc-move-forwarding-reference.cpp => bugprone-move-forwar [...] rename test/clang-tidy/{misc-multiple-statement-macro.cpp => bugprone-multiple-sta [...] rename test/clang-tidy/{misc-string-constructor.cpp => bugprone-string-constructor [...] rename test/clang-tidy/{misc-use-after-move.cpp => bugprone-use-after-move.cpp} (99%) rename test/clang-tidy/{misc-virtual-near-miss.cpp => bugprone-virtual-near-miss.c [...] create mode 100644 test/clang-tidy/fuchsia-default-arguments.cpp create mode 100644 test/clang-tidy/fuchsia-overloaded-operator.cpp create mode 100644 test/clang-tidy/fuchsia-virtual-inheritance.cpp create mode 100644 test/clang-tidy/google-objc-avoid-throwing-exception.m create mode 100644 test/clang-tidy/objc-avoid-nserror-init.m create mode 100644 test/clang-tidy/objc-avoid-spinlock.m create mode 100644 test/clang-tidy/objc-property-declaration-custom.m create mode 100644 test/clang-tidy/objc-property-declaration.m rename test/clang-tidy/{misc-inefficient-algorithm.cpp => performance-inefficient- [...] create mode 100644 test/clang-tidy/performance-move-const-arg-trivially-copyable.cpp rename test/clang-tidy/{misc-move-const-arg.cpp => performance-move-const-arg.cpp} (68%) rename test/clang-tidy/{misc-move-constructor-init.cpp => performance-move-constru [...] rename test/clang-tidy/{misc-noexcept-move-constructor.cpp => performance-noexcept [...] create mode 100644 test/clang-tidy/readability-inconsistent-declaration-parameter- [...] delete mode 100644 test/clangd/completion-items-kinds.test delete mode 100644 test/clangd/completion-priorities.test delete mode 100644 test/clangd/completion-qualifiers.test delete mode 100644 test/clangd/completion-snippet.test delete mode 100644 test/clangd/definitions.test delete mode 100644 test/clangd/did-change-watch-files.test create mode 100644 test/clangd/lit.local.cfg create mode 100644 test/clangd/rename.test create mode 100644 test/clangd/xrefs.test delete mode 100644 unittests/clang-tidy/MiscModuleTest.cpp create mode 100644 unittests/clangd/Annotations.cpp create mode 100644 unittests/clangd/Annotations.h create mode 100644 unittests/clangd/CodeCompleteTests.cpp create mode 100644 unittests/clangd/CodeCompletionStringsTests.cpp create mode 100644 unittests/clangd/ContextTests.cpp create mode 100644 unittests/clangd/FileIndexTests.cpp create mode 100644 unittests/clangd/FuzzyMatchTests.cpp create mode 100644 unittests/clangd/IndexTests.cpp create mode 100644 unittests/clangd/Matchers.h create mode 100644 unittests/clangd/SourceCodeTests.cpp create mode 100644 unittests/clangd/SymbolCollectorTests.cpp create mode 100644 unittests/clangd/TestFS.cpp create mode 100644 unittests/clangd/TestFS.h create mode 100644 unittests/clangd/XRefsTests.cpp