llvm/clang/unittests/Format/CMakeLists.txt
ksyx 6f6f88ffda [clang-format] Style to separate definition blocks
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
2022-01-03 15:47:39 -05:00

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
)