[PATCH] D115484: [clangd] Include-fixer: handle more "incomplete type" diags, clean up tests

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 9 17:14:31 PST 2021


sammccall created this revision.
sammccall added a reviewer: kadircet.
Herald added subscribers: usaxena95, arphaman.
sammccall requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1, MaskRay, ilya-biryukov.
Herald added a reviewer: jdoerfert.
Herald added a project: clang-tools-extra.

I started adding tests for all diags but found there were just too many cases.
Still I think cleaning up the tests and adding a few more is worthwhile.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115484

Files:
  clang-tools-extra/clangd/IncludeFixer.cpp
  clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
  clang-tools-extra/clangd/unittests/TestIndex.cpp
  clang-tools-extra/clangd/unittests/TestIndex.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115484.393343.patch
Type: text/x-patch
Size: 16692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211210/ddff6f2d/attachment-0001.bin>


More information about the cfe-commits mailing list