[PATCH] D147227: [clangd] Support Config in TestTU.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 30 06:00:32 PDT 2023


hokein created this revision.
hokein added a reviewer: kadircet.
Herald added a subscriber: arphaman.
Herald added a project: All.
hokein requested review of this revision.
Herald added subscribers: MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.

Add a config as a filed in TestTU, for each TestTU::build, we set the
config. And make the Config copyable.

This is needed for enabling the unused-include feature by default.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147227

Files:
  clang-tools-extra/clangd/Config.h
  clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
  clang-tools-extra/clangd/unittests/TestTU.cpp
  clang-tools-extra/clangd/unittests/TestTU.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147227.509637.patch
Type: text/x-patch
Size: 5894 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230330/1e15f36a/attachment.bin>


More information about the cfe-commits mailing list