This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository clang-tools-extra.
from 5f87337d Fix a lit test failure after D54438 new 2037b239 [clangd] Suggest adding missing includes for incomplete type [...] new c26f920a [clang-tidy] Add the abseil-duration-addition check new 3c71df1a [clang-tidy] Fix a build error.
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: clang-tidy/abseil/AbseilTidyModule.cpp | 3 + clang-tidy/abseil/CMakeLists.txt | 1 + clang-tidy/abseil/DurationAdditionCheck.cpp | 73 ++++++ ...onComparisonCheck.h => DurationAdditionCheck.h} | 18 +- clang-tidy/abseil/DurationRewriter.cpp | 35 +++ clang-tidy/abseil/DurationRewriter.h | 15 ++ clangd/CMakeLists.txt | 1 + clangd/ClangdServer.cpp | 19 +- clangd/ClangdServer.h | 6 + clangd/ClangdUnit.cpp | 44 +++- clangd/ClangdUnit.h | 5 +- clangd/CodeComplete.cpp | 64 +---- clangd/Compiler.h | 11 +- clangd/Diagnostics.cpp | 5 + clangd/Diagnostics.h | 6 + clangd/Headers.cpp | 35 +++ clangd/Headers.h | 11 + clangd/IncludeFixer.cpp | 113 +++++++++ clangd/IncludeFixer.h | 54 +++++ clangd/SourceCode.cpp | 13 ++ clangd/SourceCode.h | 7 + clangd/tool/ClangdMain.cpp | 7 + docs/ReleaseNotes.rst | 7 +- .../clang-tidy/checks/abseil-duration-addition.rst | 21 ++ docs/clang-tidy/checks/list.rst | 1 + test/clang-tidy/Inputs/absl/time/time.h | 13 ++ test/clang-tidy/abseil-duration-addition.cpp | 98 ++++++++ unittests/clangd/CMakeLists.txt | 1 + unittests/clangd/ClangdUnitTests.cpp | 257 --------------------- unittests/clangd/CodeCompleteTests.cpp | 48 +--- .../{ClangdUnitTests.cpp => DiagnosticsTests.cpp} | 120 +++++----- unittests/clangd/FileIndexTests.cpp | 2 +- unittests/clangd/TUSchedulerTests.cpp | 10 +- unittests/clangd/TestIndex.cpp | 54 +++++ unittests/clangd/TestIndex.h | 13 ++ unittests/clangd/TestTU.cpp | 7 +- unittests/clangd/TestTU.h | 2 + 37 files changed, 751 insertions(+), 449 deletions(-) create mode 100644 clang-tidy/abseil/DurationAdditionCheck.cpp copy clang-tidy/abseil/{DurationComparisonCheck.h => DurationAdditionCheck.h} (59%) create mode 100644 clangd/IncludeFixer.cpp create mode 100644 clangd/IncludeFixer.h create mode 100644 docs/clang-tidy/checks/abseil-duration-addition.rst create mode 100644 test/clang-tidy/abseil-duration-addition.cpp copy unittests/clangd/{ClangdUnitTests.cpp => DiagnosticsTests.cpp} (81%)