This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Split tweak tests into one file per tweak.
ClosedPublic

Authored by adamcz on Dec 9 2020, 7:24 AM.

Details

Summary

No changes to the tests themselves, other than some auto -> const auto
diagnostic fixes and formatting.

Diff Detail

Event Timeline

adamcz created this revision.Dec 9 2020, 7:24 AM
adamcz requested review of this revision.Dec 9 2020, 7:24 AM
adamcz updated this revision to Diff 310533.Dec 9 2020, 7:26 AM

sorted CMake file

sammccall accepted this revision.Dec 9 2020, 7:38 AM
sammccall added inline comments.
clang-tools-extra/clangd/unittests/tweaks/AnnotateHighlightingsTests.cpp
10

Most of these headers are unused in most of the tests, not sure what's the best point to clean them up

Most of these should just need TweakTests, gmock and gtest.

This revision is now accepted and ready to land.Dec 9 2020, 7:38 AM
adamcz updated this revision to Diff 310540.Dec 9 2020, 8:06 AM

Removed unused incldues and usings

This revision was landed with ongoing or failed builds.Dec 9 2020, 8:19 AM
This revision was automatically updated to reflect the committed changes.
Harbormaster completed remote builds in B81645: Diff 310543.
clang-tools-extra/clangd/unittests/CMakeLists.txt