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 c80cfc0e Creating branches/google/stable and tags/google/stable/2018-0 [...] adds acb5dd35 [clang-tidy] Add "portability" module and rename readability- [...] adds 2c369a29 do not register matcher for objc-only checks when analyzing n [...] adds 008f97d4 [clangd] Remove unused field in HandlerRegisterer adds 86622a73 [Documentation] Fix Clang-tidy checks list broken in r326909. adds ae80c07c [clangd:vscode] Resolve symlinks for file paths from clangd. adds 439f888c [clangd] Bump vscode extension version to 0.0.5 adds dacca66c [clangd] Early return for #include goto definition. adds 38e92b1f [clang-doc] Setup clang-doc frontend framework adds 6a910fde Revert "[clang-doc] Setup clang-doc frontend framework" adds af3f9189 [clang-tidy] Add check: replace string::find(...) == 0 with a [...] adds 5b7ca265 [clang-tidy] fix header guard adds 2625f509 [clangd] Don't index template specializations. adds b8bb4a5e [clangd] Use identifier range as the definition range. adds d3d53b4e [clangd-vscode] Add package-lock.json to .gitignore adds 8c4d4336 [clangd] Fix failing lit test. adds 1c610151 [clangd-fuzzer] Update ClangdLSPServer constructor call. adds e65b976c [clang-tidy] Update run-clang-tidy.py with config arg adds 1ff4c4b9 [clangd] Collect the number of files referencing a symbol in [...] adds 4e9db392 [clangd] Revamp handling of diagnostics. adds a7616ca3 [clangd] Fix diagnostic errors in the test code, NFC. adds d5cb4d02 Reland "[clang-doc] Setup clang-doc frontend framework" adds 63039418 [docs] Adding clang-doc to CTE toctree to fix docs build error adds ac480c27 [clangd] Remove Tagged and some related APIs from ClangdServer. adds 68284f70 Revert "Reland "[clang-doc] Setup clang-doc frontend framework"" adds b487b89e [clangd] Remove extra ";", NFC. adds 81c169e3 [clangd] Fix irrelevant declaratations in goto definition (on [...] adds 6478504f [clangd] Use the macro name range as the definition range. adds cc45a1a6 [clang-tidy] Fixing incorrect comment adds f3511f89 [clangd] Add an interface that finds symbol by SymbolID in Sy [...] adds 2949cf6f [clangd] Remove forceReparse, add a flag to addDocument instead adds 9b3f6686 [clangd] Don't expose vfs in TUScheduler::runWithPreamble. adds 89323a46 [clangd] Fix indentation in the comment. NFC adds 7f6e545f [clangd] Use Contents from inputs in codeComplete and signatureHelp adds f13a5582 [clang-tidy] Add Zircon module to clang-tidy adds 4de39616 [clang-tidy] rename_check.py {misc,bugprone}-macro-parentheses adds 171327e9 [clang-tidy] rename_check.py misc-sizeof-expression bugprone- [...] adds fc57df48 [clang-tidy] rename_check.py misc-sizeof-container bugprone-s [...] adds 8c06718c Fixed filename in a comment. NFC adds 32a44d6e [clang-tidy] rename_check.py misc-unused-raii bugprone-unused [...] adds 414ad1eb [change-namespace] Don't match a function call/ref multiple times. adds 73d0e618 Move DraftMgr from ClangdServer to ClangdLSPServer adds 3b6826fe [clangd] Handle multiple callbacks from Sema's completion adds 911fac49 [clang-tidy] New check bugprone-unused-return-value adds 45fb9b20 run-clang-tidy: forward clang-tidy exit status adds 857bc6b2 [clang-move] Fix move-used-helper-decls.cpp test. adds f7c52e92 [clang-move] Fix the failing test caused by changes in clang-format. adds 3c137a5c [clangd][nfc] Give name to a magic constant adds 63c895a3 [clangd] Fix undefined behavior due to misaligned type cast adds 6dc74782 Fixup test to explicitly use -fexceptions since exceptions ar [...] adds 8fe65777 [lit] Adding config initialization to lit tests in clang-tools-extra adds bdb3a216 Revert "[lit] Adding config initialization to lit tests in cl [...] adds 72082da7 Make positionToOffset return llvm::Expected<size_t> adds d789c6ff [clang-tidy][modernize-make-unique] Checks c++14 flag before [...] adds d404863f [clang-tidy] Resubmit hicpp-multiway-paths-covered without br [...] adds fc6f2542 [Fix] fix type deduction on ARM and MSVC adds 78723b0f [clang-tidy] Use :doc: for check links in Release Notes. adds 75b2e051 [clang-tidy] Marking hicpp-no-assembler-msvc unsupported on Windows adds 96f0a4e6 Reland "[lit] Adding config initialization to lit tests in cl [...] adds 32302a61 [clangd][nfc] Correct header name in comment adds c34aab30 [clang-doc] Reland "[clang-doc] Setup clang-doc frontend framework" adds 4744cb6b Revert "[clang-doc] Reland "[clang-doc] Setup clang-doc front [...] adds d9e6e757 clang-tidy, modularize: return non-zero exit code on errors adds 395afb15 [clang-doc] Reland "[clang-doc] Setup clang-doc frontend framework" adds 7a0dadf7 [clangd] Remove 'static' from a function inside anonymous ns. NFC adds 2b68b1dc Fix misuse of llvm::YAML in clangd test. adds 79061107 [clang-tidy] Enable Python 3 support for add_new_check.py adds 3f403613 [clangd] Support incremental document syncing adds b35f4a9d [clang-doc] Removing -Wunused-variable warning adds 319508dc [clang-move] Fix test failing due to clang-format change adds fea176cd Attempt to fix clangd test on Windows by wildcarding drive letters adds 03f54ff1 [clangd] Mark "Source Hover" as implemented in the docs adds 96f2a402 [clangd] Fix repeated word typo. NFC adds 2b7b2338 [clang-tidy] Define __clang_analyzer__ macro for clang-tidy f [...] adds c31fa05a Revert r328932 as it caused Windows and MacOS bot failures. adds 95685e2e [clangd][cmake] Provide libatomic when there is no native sup [...] adds 56d3aa5d [clang-tidy] Check for sizeof that call functions adds 47dad430 [clangd] synthesize fix message when the diagnostic doesn't p [...] adds 16bd768a [clang-tidy] Rename -warnings-as-errors tests. NFC. adds 0994d5f7 [clang-tidy] Remove google-runtime-member-string-references adds c5f93092 [clangd] move comment to the right place. NFC adds 8032c6b8 [clang-tidy] Sort includes; NFC adds 016f7958 [clang-tidy] Check if grand-..parent's virtual method was cal [...] adds f6ac0afa [clang-tidy] Fix compilation for ParentVirtualCallCheck.cpp adds f74dc851 [clang-tidy] One more fix compilation for ParentVirtualCallCh [...] adds ef5cc8ef [clang-tidy] Fix compilation for MSVS@PSP4 for ParentVirtualC [...] adds 1eb5db9a Fix unused variable warning. adds 6ea43a3c Improve completion experience for headers adds c468ade1 [clangd] Adapt index interfaces to D45014, and fix the old bugs. adds fa2f63e6 [clangd-vscode] Update VScode dependencies adds 264eacf3 [clangd] Allow using customized include path in URI. adds 923585d8 [clang-tidy] Return non-zero exit code for clang errors. adds 6839c722 [clang] Use compile-command interpolation to provide commands [...] adds 63b96301 [clangd] Bump v0.0.6 for vscode-clangd. adds 668c5a02 [cmake] Include LLVMTestingSupport when doing stand-alone build adds ffc3098b s/LLVM_ON_WIN32/_WIN32/, clang-tools-extra adds 183875a7 [clang-tidy] Adding alias for anon namespaces in header (fuch [...] adds 871d0344 [clangd] Use operator<< to prevent printers issues in Gtest adds 4ac5e40a [clang-tidy] [modernize-use-auto] Add a threshold for minimal [...] adds f2fba50e [clang-tidy] [modernize-use-auto] Fix members initialization order adds c892b776 [clang-tidy][Fuchsia]: don't forget to actually link to Googl [...] adds 7a21a460 [clang-tidy][modernize]: don't forget to actually link to Tooling. adds 2860b583 [clang-tidy] Unbreak run-clang-tidy.cpp test (modernize-use-a [...] adds 0b5a0d7c [clang-tidy] Add a `android-comparison-in-temp-failure-retry` check adds 78ae36a3 [clang-tidy] add missing assignment operations in hicpp-signe [...] adds b91631e6 [clang-tidy] fix buildbots from hicpp-signed-bitwise adds 689190bc [clang-apply-replacements] Convert tooling::Replacements to t [...] adds 09e9799c [Documentation] Fix formatting and order in Release Notes for [...] adds f5369354 [clang-tidy] [modernize-use-auto] Get only a length of token, [...] adds 1c0a02fa [Documentation] Fix options order for Release Notes in modern [...] adds e6bfa666 [clang-tidy] [modernize-use-auto] Fix test modernize-use-auto [...] adds 40c67d20 [clang-apply-replacements] Don't forget to link to clangTooli [...] adds c06b8791 [clang-apply-replacements] Always initialize FormatStyle. adds ce2e6ffb [clang-tidy] readability-function-size: add VariableThreshold param. adds 55a6776a [Documentation] Order of changes in existing checks in Releas [...] adds dd523d1c Revert "[clang-tidy] [modernize-use-auto] Get only a length o [...] adds 9d3c220a [clangd][nfc] Simplify readDelimitedMessage() adds 94900f9a [clang-tidy] [bugprone-parent-virtual-call] Minor cosmetic ch [...] adds 197066d1 [clangd] Add line and column number to the index symbol. adds 536d5109 [clang-tidy] Fix ParentVirtualCallCheck for old MSVS compilers adds 32f9fba9 [clangd] Match AST and Index label for template Symbols adds 63ad6049 [clangd] Fix label and snippet for funcs in the index adds 50fe7578 [clangd] Fix "fail to create file URI" warnings in FileIndexTest. adds 7730ba7c [clang-tidy] Fix clang-tidy doesn't read .clangtidy configura [...] adds a596286e add extra acronyms for objc property names adds 179b53d4 Fix test from r330245 on Windows. adds 1bc424b9 [clang-tidy] Fix unused-variable warning. adds e70bc639 Parse .h files as objective-c++ if we don't have a compile command. adds 9aced455 [clang-tidy] add new check to find out objc ivars which do no [...] adds 52e5ed95 [clang-apply-replacements] Make clang-apply-replacements installable adds 1ac96801 [clang-tidy] Customize FileCheck prefix in check_clang-tidy.py adds 0ef9865f Revert r330492: [clang-tidy] add new check to find out objc i [...] adds 77b86b26 update test to use ivar in implementation instead of class extension adds 0382a3a0 update readability-identifier-naming-objc test to use interfa [...] adds ad33152b Fix tests after changes to clang-format in r330573. adds 95b5c37b [index] Fix methods that take a shared_ptr to just take a reference. adds 2f4ac5df [clangd] Prune some dead declarations. No functionality change. adds d313d9bd [clangd] Fix Context::derive to actually call the right method. adds e08854ae [clangd][tests] Fix handling of EOF in delimited input adds 24aaf231 [clangd][tests] Fix delimiter handling adds 633da1f3 [clangd] Implementation of workspace/symbol request adds 05d033ed [clang-tidy] Fix PR35468 adds 2efd9754 [clangd] Initialize candidate count in unit test adds bc9a0220 [clangd] Commit a heinous crime to make test hermetic and not [...] adds 84cdd83d [clang-tidy] Improve bugprone-unused-return-value check adds e4a52cfb [clangd] Minor fixes for C++ standard library header mapping. adds 849d20a9 [clangd] Add "str()" method to SymbolID. new b52cdadb Release 2018-04-24 for google/stable @r330864 new 864cd49e Release 2018-04-24 for google/stable @r330764 new 8dad0fb1 Release 2018-04-24 for google/stable @r330764
The 3 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: BRANCH_HISTORY | 1 + CMakeLists.txt | 1 + change-namespace/ChangeNamespace.cpp | 14 +- clang-apply-replacements/CMakeLists.txt | 1 + .../Tooling/ApplyReplacements.h | 82 +--- .../lib/Tooling/ApplyReplacements.cpp | 331 ++++--------- clang-apply-replacements/tool/CMakeLists.txt | 3 +- .../tool/ClangApplyReplacementsMain.cpp | 169 +------ clang-doc/BitcodeWriter.cpp | 510 +++++++++++++++++++++ clang-doc/BitcodeWriter.h | 201 ++++++++ clang-doc/CMakeLists.txt | 23 + clang-doc/ClangDoc.cpp | 61 +++ clang-doc/ClangDoc.h | 33 ++ clang-doc/Mapper.cpp | 86 ++++ clang-doc/Mapper.h | 57 +++ clang-doc/Representation.h | 184 ++++++++ clang-doc/Serialize.cpp | 336 ++++++++++++++ clang-doc/Serialize.h | 53 +++ clang-doc/tool/CMakeLists.txt | 17 + clang-doc/tool/ClangDocMain.cpp | 114 +++++ .../ClangTidy/Resources/ClangTidyChecks.yaml | 4 - clang-tidy/CMakeLists.txt | 3 + clang-tidy/ClangTidyOptions.cpp | 17 +- clang-tidy/ClangTidyOptions.h | 6 +- clang-tidy/abseil/AbseilTidyModule.cpp | 38 ++ clang-tidy/abseil/CMakeLists.txt | 14 + clang-tidy/abseil/StringFindStartswithCheck.cpp | 133 ++++++ clang-tidy/abseil/StringFindStartswithCheck.h | 48 ++ clang-tidy/add_new_check.py | 38 +- clang-tidy/android/AndroidTidyModule.cpp | 5 +- clang-tidy/android/CMakeLists.txt | 1 + .../android/ComparisonInTempFailureRetryCheck.cpp | 84 ++++ .../android/ComparisonInTempFailureRetryCheck.h | 36 ++ clang-tidy/bugprone/BugproneTidyModule.cpp | 18 + clang-tidy/bugprone/CMakeLists.txt | 6 + clang-tidy/bugprone/IncorrectRoundingsCheck.h | 2 +- .../{misc => bugprone}/MacroParenthesesCheck.cpp | 4 +- .../{misc => bugprone}/MacroParenthesesCheck.h | 10 +- clang-tidy/bugprone/ParentVirtualCallCheck.cpp | 156 +++++++ .../ParentVirtualCallCheck.h} | 20 +- .../{misc => bugprone}/SizeofContainerCheck.cpp | 4 +- .../{misc => bugprone}/SizeofContainerCheck.h | 12 +- .../{misc => bugprone}/SizeofExpressionCheck.cpp | 23 +- .../{misc => bugprone}/SizeofExpressionCheck.h | 13 +- .../UnusedRaiiCheck.cpp} | 12 +- .../UnusedRaiiCheck.h} | 18 +- clang-tidy/bugprone/UnusedReturnValueCheck.cpp | 82 ++++ .../UnusedReturnValueCheck.h} | 25 +- clang-tidy/fuchsia/CMakeLists.txt | 1 + clang-tidy/fuchsia/FuchsiaTidyModule.cpp | 3 + .../google/AvoidThrowingObjCExceptionCheck.cpp | 5 + clang-tidy/google/CMakeLists.txt | 1 - clang-tidy/google/GoogleTidyModule.cpp | 3 - clang-tidy/google/StringReferenceMemberCheck.cpp | 51 --- clang-tidy/google/StringReferenceMemberCheck.h | 54 --- clang-tidy/hicpp/CMakeLists.txt | 1 + clang-tidy/hicpp/HICPPTidyModule.cpp | 3 + clang-tidy/hicpp/MultiwayPathsCoveredCheck.cpp | 181 ++++++++ clang-tidy/hicpp/MultiwayPathsCoveredCheck.h | 51 +++ clang-tidy/hicpp/SignedBitwiseCheck.cpp | 18 +- clang-tidy/misc/CMakeLists.txt | 4 - clang-tidy/misc/MiscTidyModule.cpp | 10 - .../misc/UnconventionalAssignOperatorCheck.cpp | 6 +- clang-tidy/modernize/CMakeLists.txt | 1 + clang-tidy/modernize/MakeSmartPtrCheck.cpp | 9 +- clang-tidy/modernize/MakeSmartPtrCheck.h | 3 + clang-tidy/modernize/MakeUniqueCheck.cpp | 8 +- clang-tidy/modernize/MakeUniqueCheck.h | 5 + clang-tidy/modernize/UseAutoCheck.cpp | 9 + clang-tidy/modernize/UseAutoCheck.h | 1 + clang-tidy/objc/AvoidNSErrorInitCheck.cpp | 4 + clang-tidy/objc/ForbiddenSubclassingCheck.cpp | 4 + clang-tidy/objc/PropertyDeclarationCheck.cpp | 9 + clang-tidy/plugin/CMakeLists.txt | 2 + clang-tidy/plugin/ClangTidyPlugin.cpp | 5 + clang-tidy/portability/CMakeLists.txt | 15 + clang-tidy/portability/PortabilityTidyModule.cpp | 38 ++ .../SIMDIntrinsicsCheck.cpp | 40 +- .../SIMDIntrinsicsCheck.h | 10 +- clang-tidy/readability/CMakeLists.txt | 1 - clang-tidy/readability/FunctionSizeCheck.cpp | 50 +- clang-tidy/readability/FunctionSizeCheck.h | 3 + clang-tidy/readability/IdentifierNamingCheck.cpp | 4 + clang-tidy/readability/ReadabilityTidyModule.cpp | 3 - clang-tidy/rename_check.py | 4 +- clang-tidy/tool/CMakeLists.txt | 3 + clang-tidy/tool/ClangTidyMain.cpp | 59 ++- clang-tidy/tool/run-clang-tidy.py | 29 +- clang-tidy/zircon/CMakeLists.txt | 14 + clang-tidy/zircon/TemporaryObjectsCheck.cpp | 60 +++ clang-tidy/zircon/TemporaryObjectsCheck.h | 42 ++ clang-tidy/zircon/ZirconTidyModule.cpp | 40 ++ clangd/AST.cpp | 42 ++ clangd/AST.h | 34 ++ clangd/CMakeLists.txt | 9 + clangd/ClangdLSPServer.cpp | 152 ++++-- clangd/ClangdLSPServer.h | 23 +- clangd/ClangdServer.cpp | 319 +++++-------- clangd/ClangdServer.h | 134 ++---- clangd/ClangdUnit.cpp | 173 +------ clangd/ClangdUnit.h | 22 +- clangd/CodeComplete.cpp | 9 +- clangd/Context.h | 2 +- clangd/Diagnostics.cpp | 384 ++++++++++++++++ clangd/Diagnostics.h | 98 ++++ clangd/DraftStore.cpp | 85 +++- clangd/DraftStore.h | 52 +-- clangd/FindSymbols.cpp | 141 ++++++ clangd/FindSymbols.h | 37 ++ clangd/Function.h | 4 + clangd/GlobalCompilationDatabase.cpp | 13 +- clangd/GlobalCompilationDatabase.h | 1 + clangd/JSONExpr.cpp | 2 +- clangd/JSONRPCDispatcher.cpp | 20 +- clangd/Protocol.cpp | 102 ++++- clangd/Protocol.h | 132 +++++- clangd/ProtocolHandlers.cpp | 5 +- clangd/ProtocolHandlers.h | 3 +- clangd/SourceCode.cpp | 44 +- clangd/SourceCode.h | 26 +- clangd/TUScheduler.cpp | 40 +- clangd/TUScheduler.h | 24 +- clangd/Trace.h | 4 - clangd/URI.cpp | 7 + clangd/URI.h | 17 + clangd/XRefs.cpp | 98 ++-- clangd/clients/clangd-vscode/.gitignore | 3 +- clangd/clients/clangd-vscode/package.json | 10 +- clangd/clients/clangd-vscode/src/extension.ts | 22 +- clangd/fuzzer/ClangdFuzzer.cpp | 7 +- .../GlobalSymbolBuilderMain.cpp | 1 + clangd/index/FileIndex.cpp | 16 +- clangd/index/FileIndex.h | 3 + clangd/index/Index.cpp | 3 +- clangd/index/Index.h | 41 +- clangd/index/MemIndex.cpp | 9 + clangd/index/MemIndex.h | 4 + clangd/index/Merge.cpp | 23 + clangd/index/SymbolCollector.cpp | 144 +++--- clangd/index/SymbolCollector.h | 10 +- clangd/index/SymbolYAML.cpp | 12 +- clangd/tool/ClangdMain.cpp | 22 +- docs/ReleaseNotes.rst | 173 +++++-- docs/clang-doc.rst | 65 +++ .../checks/abseil-string-find-startswith.rst | 41 ++ .../android-comparison-in-temp-failure-retry.rst | 36 ++ ...entheses.rst => bugprone-macro-parentheses.rst} | 6 +- .../checks/bugprone-parent-virtual-call.rst | 23 + ...container.rst => bugprone-sizeof-container.rst} | 6 +- ...pression.rst => bugprone-sizeof-expression.rst} | 41 +- ...sc-unused-raii.rst => bugprone-unused-raii.rst} | 6 +- .../checks/bugprone-unused-return-value.rst | 24 + .../checks/fuchsia-header-anon-namespaces.rst | 10 + docs/clang-tidy/checks/google-build-namespaces.rst | 1 + .../google-runtime-member-string-references.rst | 25 - .../checks/hicpp-multiway-paths-covered.rst | 96 ++++ docs/clang-tidy/checks/list.rst | 18 +- docs/clang-tidy/checks/modernize-use-auto.rst | 20 + ...rinsics.rst => portability-simd-intrinsics.rst} | 9 +- .../checks/readability-function-size.rst | 7 + .../clang-tidy/checks/zircon-temporary-objects.rst | 53 +++ docs/clang-tidy/index.rst | 24 + docs/clangd.rst | 2 +- docs/index.rst | 1 + include-fixer/tool/clang-include-fixer.el | 14 +- modularize/Modularize.cpp | 2 +- test/CMakeLists.txt | 4 + .../Inputs/basic/file2.yaml | 8 +- .../Inputs/conflict/expected.txt | 23 +- .../Inputs/identical/file1.yaml | 18 + .../Inputs/identical/identical.cpp | 2 + .../Inputs/order-dependent/expected.txt | 3 + .../Inputs/order-dependent/file1.yaml | 13 + .../Inputs/order-dependent/file2.yaml | 13 + .../Inputs/order-dependent/order-dependent.cpp | 1 + test/clang-apply-replacements/identical.cpp | 5 + test/clang-apply-replacements/order-dependent.cpp | 7 + test/clang-doc/mapper-class-in-class.cpp | 35 ++ test/clang-doc/mapper-class-in-function.cpp | 41 ++ test/clang-doc/mapper-class.cpp | 19 + test/clang-doc/mapper-comments.cpp | 172 +++++++ test/clang-doc/mapper-enum.cpp | 36 ++ test/clang-doc/mapper-function.cpp | 25 + test/clang-doc/mapper-method.cpp | 43 ++ test/clang-doc/mapper-namespace.cpp | 17 + test/clang-doc/mapper-struct.cpp | 23 + test/clang-doc/mapper-union.cpp | 29 ++ test/clang-tidy/abseil-string-find-startswith.cpp | 55 +++ .../android-comparison-in-temp-failure-retry.c | 148 ++++++ ....cpp => bugprone-macro-parentheses-cmdline.cpp} | 2 +- ...entheses.cpp => bugprone-macro-parentheses.cpp} | 12 +- test/clang-tidy/bugprone-parent-virtual-call.cpp | 179 ++++++++ ...container.cpp => bugprone-sizeof-container.cpp} | 4 +- ...pression.cpp => bugprone-sizeof-expression.cpp} | 72 ++- .../bugprone-suspicious-semicolon-fail.cpp | 6 +- ...sc-unused-raii.cpp => bugprone-unused-raii.cpp} | 2 +- .../bugprone-unused-return-value-custom.cpp | 82 ++++ test/clang-tidy/bugprone-unused-return-value.cpp | 166 +++++++ test/clang-tidy/check_clang_tidy.cpp | 21 + test/clang-tidy/check_clang_tidy.py | 29 +- test/clang-tidy/diagnostic.cpp | 30 +- test/clang-tidy/fix-errors.cpp | 2 +- .../google-runtime-member-string-references.cpp | 49 -- .../hicpp-multiway-paths-covered-else.cpp | 57 +++ test/clang-tidy/hicpp-multiway-paths-covered.cpp | 468 +++++++++++++++++++ test/clang-tidy/hicpp-no-assembler-msvc.cpp | 2 + .../hicpp-signed-bitwise-standard-types.cpp | 67 +-- test/clang-tidy/hicpp-signed-bitwise.cpp | 21 + test/clang-tidy/misc-misplaced-const-cxx17.cpp | 2 +- .../misc-unconventional-assign-operator-cxx17.cpp | 12 + test/clang-tidy/misc-unused-using-decls-errors.cpp | 2 +- .../modernize-loop-convert-assert-failure.cpp | 2 +- test/clang-tidy/modernize-make-unique-cxx11.cpp | 10 + test/clang-tidy/modernize-make-unique-cxx14.cpp | 11 + test/clang-tidy/modernize-make-unique-macros.cpp | 2 +- test/clang-tidy/modernize-make-unique.cpp | 2 +- .../modernize-use-auto-cast-remove-stars.cpp | 2 +- test/clang-tidy/modernize-use-auto-cast.cpp | 5 +- .../modernize-use-auto-min-type-name-length.cpp | 30 ++ .../modernize-use-auto-new-remove-stars.cpp | 2 +- test/clang-tidy/modernize-use-auto-new.cpp | 4 +- test/clang-tidy/objc-property-declaration.m | 2 + ...ppc.cpp => portability-simd-intrinsics-ppc.cpp} | 6 +- ...x86.cpp => portability-simd-intrinsics-x86.cpp} | 6 +- test/clang-tidy/read_file_config.cpp | 12 + ...ity-braces-around-statements-assert-failure.cpp | 2 +- ...readability-braces-around-statements-format.cpp | 22 +- .../readability-function-size-variables-c++17.cpp | 21 + test/clang-tidy/readability-function-size.cpp | 171 ++++++- .../readability-identifier-naming-objc.m | 12 + test/clang-tidy/run-clang-tidy.cpp | 17 + test/clang-tidy/select-checks.cpp | 2 +- test/clang-tidy/serialize-diagnostics.cpp | 2 +- ...tics.cpp => warnings-as-errors-diagnostics.cpp} | 0 ...rs-plural.cpp => warnings-as-errors-plural.cpp} | 0 .../{werrors.cpp => warnings-as-errors.cpp} | 0 test/clang-tidy/zircon-temporary-objects.cpp | 109 +++++ test/clangd/Inputs/sstream.h | 3 + .../clangd/delimited-input-comment-at-the-end.test | 12 + test/clangd/diagnostics.test | 14 - test/clangd/execute-command.test | 28 -- test/clangd/extra-flags.test | 28 -- test/clangd/fixits.test | 40 +- test/clangd/initialize-params-invalid.test | 3 +- test/clangd/initialize-params.test | 3 +- test/clangd/spaces-in-delimited-input.test | 13 + test/clangd/symbols.test | 33 ++ test/clangd/textdocument-didchange-fail.test | 37 ++ test/clangd/xrefs.test | 4 +- test/lit.cfg | 5 + test/lit.site.cfg.in | 2 + test/modularize/NoProblemsNamespace.modularize | 2 +- unittests/CMakeLists.txt | 9 + .../change-namespace/ChangeNamespaceTests.cpp | 40 +- .../ApplyReplacementsTest.cpp | 6 +- unittests/clang-apply-replacements/CMakeLists.txt | 2 +- .../clang-apply-replacements/ReformattingTest.cpp | 67 --- unittests/clangd/Annotations.cpp | 6 - unittests/clangd/Annotations.h | 4 - unittests/clangd/CMakeLists.txt | 4 + unittests/clangd/ClangdTests.cpp | 203 ++++---- unittests/clangd/ClangdUnitTests.cpp | 181 ++++++-- unittests/clangd/CodeCompleteTests.cpp | 100 ++-- unittests/clangd/DraftStoreTests.cpp | 350 ++++++++++++++ unittests/clangd/FileIndexTests.cpp | 42 +- unittests/clangd/FindSymbolsTests.cpp | 247 ++++++++++ .../clangd/GlobalCompilationDatabaseTests.cpp | 37 ++ unittests/clangd/HeadersTests.cpp | 2 +- unittests/clangd/IndexTests.cpp | 68 ++- unittests/clangd/JSONExprTests.cpp | 4 +- unittests/clangd/SourceCodeTests.cpp | 72 ++- unittests/clangd/SymbolCollectorTests.cpp | 119 +++-- unittests/clangd/SyncAPI.cpp | 34 +- unittests/clangd/SyncAPI.h | 21 +- unittests/clangd/TUSchedulerTests.cpp | 25 +- unittests/clangd/TestFS.cpp | 16 +- unittests/clangd/TestFS.h | 7 +- .../Headers/a.h => unittests/clangd/TestScheme.h | 0 unittests/clangd/TraceTests.cpp | 2 +- unittests/clangd/URITests.cpp | 4 +- unittests/clangd/XRefsTests.cpp | 106 +++-- unittests/include-fixer/IncludeFixerTest.cpp | 18 +- 282 files changed, 9471 insertions(+), 2300 deletions(-) create mode 100644 BRANCH_HISTORY create mode 100644 clang-doc/BitcodeWriter.cpp create mode 100644 clang-doc/BitcodeWriter.h create mode 100644 clang-doc/CMakeLists.txt create mode 100644 clang-doc/ClangDoc.cpp create mode 100644 clang-doc/ClangDoc.h create mode 100644 clang-doc/Mapper.cpp create mode 100644 clang-doc/Mapper.h create mode 100644 clang-doc/Representation.h create mode 100644 clang-doc/Serialize.cpp create mode 100644 clang-doc/Serialize.h create mode 100644 clang-doc/tool/CMakeLists.txt create mode 100644 clang-doc/tool/ClangDocMain.cpp create mode 100644 clang-tidy/abseil/AbseilTidyModule.cpp create mode 100644 clang-tidy/abseil/CMakeLists.txt create mode 100644 clang-tidy/abseil/StringFindStartswithCheck.cpp create mode 100644 clang-tidy/abseil/StringFindStartswithCheck.h create mode 100644 clang-tidy/android/ComparisonInTempFailureRetryCheck.cpp create mode 100644 clang-tidy/android/ComparisonInTempFailureRetryCheck.h rename clang-tidy/{misc => bugprone}/MacroParenthesesCheck.cpp (99%) rename clang-tidy/{misc => bugprone}/MacroParenthesesCheck.h (83%) create mode 100755 clang-tidy/bugprone/ParentVirtualCallCheck.cpp copy clang-tidy/{misc/UnusedRAIICheck.h => bugprone/ParentVirtualCallCheck.h} (50%) mode change 100644 => 100755 rename clang-tidy/{misc => bugprone}/SizeofContainerCheck.cpp (97%) rename clang-tidy/{misc => bugprone}/SizeofContainerCheck.h (72%) rename clang-tidy/{misc => bugprone}/SizeofExpressionCheck.cpp (92%) copy clang-tidy/{misc => bugprone}/SizeofExpressionCheck.h (71%) rename clang-tidy/{misc/UnusedRAIICheck.cpp => bugprone/UnusedRaiiCheck.cpp} (92%) rename clang-tidy/{misc/UnusedRAIICheck.h => bugprone/UnusedRaiiCheck.h} (57%) create mode 100644 clang-tidy/bugprone/UnusedReturnValueCheck.cpp rename clang-tidy/{misc/SizeofExpressionCheck.h => bugprone/UnusedReturnValueCheck [...] delete mode 100644 clang-tidy/google/StringReferenceMemberCheck.cpp delete mode 100644 clang-tidy/google/StringReferenceMemberCheck.h create mode 100644 clang-tidy/hicpp/MultiwayPathsCoveredCheck.cpp create mode 100644 clang-tidy/hicpp/MultiwayPathsCoveredCheck.h create mode 100644 clang-tidy/portability/CMakeLists.txt create mode 100644 clang-tidy/portability/PortabilityTidyModule.cpp rename clang-tidy/{readability => portability}/SIMDIntrinsicsCheck.cpp (82%) rename clang-tidy/{readability => portability}/SIMDIntrinsicsCheck.h (86%) create mode 100644 clang-tidy/zircon/CMakeLists.txt create mode 100644 clang-tidy/zircon/TemporaryObjectsCheck.cpp create mode 100644 clang-tidy/zircon/TemporaryObjectsCheck.h create mode 100644 clang-tidy/zircon/ZirconTidyModule.cpp create mode 100644 clangd/AST.cpp create mode 100644 clangd/AST.h create mode 100644 clangd/Diagnostics.cpp create mode 100644 clangd/Diagnostics.h create mode 100644 clangd/FindSymbols.cpp create mode 100644 clangd/FindSymbols.h create mode 100644 docs/clang-doc.rst create mode 100644 docs/clang-tidy/checks/abseil-string-find-startswith.rst create mode 100644 docs/clang-tidy/checks/android-comparison-in-temp-failure-retry.rst rename docs/clang-tidy/checks/{misc-macro-parentheses.rst => bugprone-macro-parent [...] create mode 100755 docs/clang-tidy/checks/bugprone-parent-virtual-call.rst rename docs/clang-tidy/checks/{misc-sizeof-container.rst => bugprone-sizeof-contai [...] rename docs/clang-tidy/checks/{misc-sizeof-expression.rst => bugprone-sizeof-expre [...] rename docs/clang-tidy/checks/{misc-unused-raii.rst => bugprone-unused-raii.rst} (89%) create mode 100644 docs/clang-tidy/checks/bugprone-unused-return-value.rst create mode 100644 docs/clang-tidy/checks/fuchsia-header-anon-namespaces.rst delete mode 100644 docs/clang-tidy/checks/google-runtime-member-string-references.rst create mode 100644 docs/clang-tidy/checks/hicpp-multiway-paths-covered.rst rename docs/clang-tidy/checks/{readability-simd-intrinsics.rst => portability-simd [...] create mode 100644 docs/clang-tidy/checks/zircon-temporary-objects.rst create mode 100644 test/clang-apply-replacements/Inputs/identical/file1.yaml create mode 100644 test/clang-apply-replacements/Inputs/identical/identical.cpp create mode 100644 test/clang-apply-replacements/Inputs/order-dependent/expected.txt create mode 100644 test/clang-apply-replacements/Inputs/order-dependent/file1.yaml create mode 100644 test/clang-apply-replacements/Inputs/order-dependent/file2.yaml create mode 100644 test/clang-apply-replacements/Inputs/order-dependent/order-depe [...] create mode 100644 test/clang-apply-replacements/identical.cpp create mode 100644 test/clang-apply-replacements/order-dependent.cpp create mode 100644 test/clang-doc/mapper-class-in-class.cpp create mode 100644 test/clang-doc/mapper-class-in-function.cpp create mode 100644 test/clang-doc/mapper-class.cpp create mode 100644 test/clang-doc/mapper-comments.cpp create mode 100644 test/clang-doc/mapper-enum.cpp create mode 100644 test/clang-doc/mapper-function.cpp create mode 100644 test/clang-doc/mapper-method.cpp create mode 100644 test/clang-doc/mapper-namespace.cpp create mode 100644 test/clang-doc/mapper-struct.cpp create mode 100644 test/clang-doc/mapper-union.cpp create mode 100644 test/clang-tidy/abseil-string-find-startswith.cpp create mode 100644 test/clang-tidy/android-comparison-in-temp-failure-retry.c rename test/clang-tidy/{misc-macro-parentheses-cmdline.cpp => bugprone-macro-paren [...] rename test/clang-tidy/{misc-macro-parentheses.cpp => bugprone-macro-parentheses.c [...] create mode 100755 test/clang-tidy/bugprone-parent-virtual-call.cpp rename test/clang-tidy/{misc-sizeof-container.cpp => bugprone-sizeof-container.cpp} (91%) rename test/clang-tidy/{misc-sizeof-expression.cpp => bugprone-sizeof-expression.c [...] rename test/clang-tidy/{misc-unused-raii.cpp => bugprone-unused-raii.cpp} (96%) create mode 100644 test/clang-tidy/bugprone-unused-return-value-custom.cpp create mode 100644 test/clang-tidy/bugprone-unused-return-value.cpp create mode 100644 test/clang-tidy/check_clang_tidy.cpp delete mode 100644 test/clang-tidy/google-runtime-member-string-references.cpp create mode 100644 test/clang-tidy/hicpp-multiway-paths-covered-else.cpp create mode 100644 test/clang-tidy/hicpp-multiway-paths-covered.cpp create mode 100644 test/clang-tidy/misc-unconventional-assign-operator-cxx17.cpp create mode 100644 test/clang-tidy/modernize-make-unique-cxx11.cpp create mode 100644 test/clang-tidy/modernize-make-unique-cxx14.cpp create mode 100644 test/clang-tidy/modernize-use-auto-min-type-name-length.cpp rename test/clang-tidy/{readability-simd-intrinsics-ppc.cpp => portability-simd-in [...] rename test/clang-tidy/{readability-simd-intrinsics-x86.cpp => portability-simd-in [...] create mode 100644 test/clang-tidy/read_file_config.cpp create mode 100644 test/clang-tidy/readability-function-size-variables-c++17.cpp create mode 100644 test/clang-tidy/readability-identifier-naming-objc.m create mode 100644 test/clang-tidy/run-clang-tidy.cpp rename test/clang-tidy/{werrors-diagnostics.cpp => warnings-as-errors-diagnostics. [...] rename test/clang-tidy/{werrors-plural.cpp => warnings-as-errors-plural.cpp} (100%) rename test/clang-tidy/{werrors.cpp => warnings-as-errors.cpp} (100%) create mode 100644 test/clang-tidy/zircon-temporary-objects.cpp create mode 100644 test/clangd/Inputs/sstream.h create mode 100644 test/clangd/delimited-input-comment-at-the-end.test create mode 100644 test/clangd/spaces-in-delimited-input.test create mode 100644 test/clangd/symbols.test create mode 100644 test/clangd/textdocument-didchange-fail.test delete mode 100644 unittests/clang-apply-replacements/ReformattingTest.cpp create mode 100644 unittests/clangd/DraftStoreTests.cpp create mode 100644 unittests/clangd/FindSymbolsTests.cpp create mode 100644 unittests/clangd/GlobalCompilationDatabaseTests.cpp copy test/clang-tidy/Inputs/Headers/a.h => unittests/clangd/TestScheme.h (100%)