Skip to content

Commit

Permalink
[clangd] Split tweak tests into one file per tweak.
Browse files Browse the repository at this point in the history
No changes to the tests themselves, other than some auto -> const auto
diagnostic fixes and formatting.

Differential Revision: https://reviews.llvm.org/D92939
  • Loading branch information
gislan committed Dec 9, 2020
1 parent 1a2147f commit 5934a79
Show file tree
Hide file tree
Showing 22 changed files with 3,531 additions and 3,131 deletions.
22 changes: 20 additions & 2 deletions clang-tools-extra/clangd/unittests/CMakeLists.txt
Expand Up @@ -93,8 +93,6 @@ add_unittest(ClangdUnitTests ClangdTests
TestTU.cpp
TestWorkspace.cpp
TypeHierarchyTests.cpp
TweakTests.cpp
TweakTesting.cpp
URITests.cpp
XRefsTests.cpp
${CMAKE_CURRENT_BINARY_DIR}/DecisionForestRuntimeTest.cpp
Expand All @@ -108,6 +106,26 @@ add_unittest(ClangdUnitTests ClangdTests
support/TestTracer.cpp
support/TraceTests.cpp

tweaks/AddUsingTests.cpp
tweaks/AnnotateHighlightingsTests.cpp
tweaks/DefineInlineTests.cpp
tweaks/DefineOutlineTests.cpp
tweaks/DumpASTTests.cpp
tweaks/DumpRecordLayoutTests.cpp
tweaks/DumpSymbolTests.cpp
tweaks/ExpandAutoTypeTests.cpp
tweaks/ExpandMacroTests.cpp
tweaks/ExtractFunctionTests.cpp
tweaks/ExtractVariableTests.cpp
tweaks/ObjCLocalizeStringLiteralTests.cpp
tweaks/PopulateSwitchTests.cpp
tweaks/RawStringLiteralTests.cpp
tweaks/RemoveUsingNamespaceTests.cpp
tweaks/ShowSelectionTreeTests.cpp
tweaks/SwapIfBranchesTests.cpp
tweaks/TweakTesting.cpp
tweaks/TweakTests.cpp

${REMOTE_TEST_SOURCES}

$<TARGET_OBJECTS:obj.clangDaemonTweaks>
Expand Down

0 comments on commit 5934a79

Please sign in to comment.