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.
Paths
| Differential D147227
[clangd] Support Config in TestTU. AbandonedPublic Authored by hokein on Mar 30 2023, 6:00 AM.
Details
Summary Add a config as a filed in TestTU, for each TestTU::build, we set the This is needed for enabling the unused-include feature by default.
Diff Detail
Revision Contents
Diff 509637 clang-tools-extra/clangd/Config.h
clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
clang-tools-extra/clangd/unittests/TestTU.h
clang-tools-extra/clangd/unittests/TestTU.cpp
|