6f6f88ffda
This commit resolves GitHub issue #45895 (Bugzilla #46550), to add or remove empty line between definition blocks including namespaces, classes, structs, enums and functions. Reviewed By: MyDeveloperDay, curdeius, HazardyKnusperkeks Differential Revision: https://reviews.llvm.org/D116314
37 lines
734 B
CMake
37 lines
734 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Support
|
|
)
|
|
|
|
add_clang_unittest(FormatTests
|
|
CleanupTest.cpp
|
|
DefinitionBlockSeparatorTest.cpp
|
|
FormatTest.cpp
|
|
FormatTestComments.cpp
|
|
FormatTestCSharp.cpp
|
|
FormatTestJS.cpp
|
|
FormatTestJava.cpp
|
|
FormatTestJson.cpp
|
|
FormatTestObjC.cpp
|
|
FormatTestProto.cpp
|
|
FormatTestRawStrings.cpp
|
|
FormatTestSelective.cpp
|
|
FormatTestTableGen.cpp
|
|
FormatTestTextProto.cpp
|
|
MacroExpanderTest.cpp
|
|
NamespaceEndCommentsFixerTest.cpp
|
|
QualifierFixerTest.cpp
|
|
SortImportsTestJS.cpp
|
|
SortImportsTestJava.cpp
|
|
SortIncludesTest.cpp
|
|
UsingDeclarationsSorterTest.cpp
|
|
TokenAnnotatorTest.cpp
|
|
)
|
|
|
|
clang_target_link_libraries(FormatTests
|
|
PRIVATE
|
|
clangBasic
|
|
clangFormat
|
|
clangRewrite
|
|
clangToolingCore
|
|
)
|