[clangd] Fix fixAll not shown when there is only one unused-include and missing-inclu...
authorHaojian Wu <hokein.wu@gmail.com>
Wed, 3 May 2023 10:18:17 +0000 (12:18 +0200)
committerHaojian Wu <hokein.wu@gmail.com>
Mon, 15 May 2023 12:02:20 +0000 (14:02 +0200)
commitd0e89116aff224ac2d8d3f88029ae44e12c9b6cc
tree25f0eae1c25bc55deb5527c2b82f641e01cc4393
parentb321738f71259d138c9b2002944eb65f099ec2a6
[clangd] Fix fixAll not shown when there is only one unused-include and missing-include diagnostics.

Discovered during the review in https://reviews.llvm.org/D149437#inline-1444851.

Differential Revision: https://reviews.llvm.org/D149822
clang-tools-extra/clangd/IncludeCleaner.cpp
clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp