Skip to content

Commit 3740fac

Browse files
committed
Revert "[clang-format] Add cmake target clang-format-style-options for updating ClangFormatStyleOptions.rst (#111513)"
Breaks the build when docs are not enabled. This reverts commit f7560ee. This reverts commit 6bec180.
1 parent dd7a3d4 commit 3740fac

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

clang/lib/Format/CMakeLists.txt

-13
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,3 @@ foreach (file IN LISTS files)
5353
endforeach ()
5454

5555
add_custom_target(clang-format-check-format DEPENDS ${check_format_depends})
56-
57-
set(style_options_depends ${CLANG_SOURCE_DIR}/docs/ClangFormatStyleOptions.rst)
58-
set(docs_tools_dir ${CLANG_SOURCE_DIR}/docs/tools)
59-
add_custom_command(OUTPUT ${style_options_depends}
60-
COMMAND ${Python3_EXECUTABLE} dump_format_style.py
61-
WORKING_DIRECTORY ${docs_tools_dir}
62-
DEPENDS ${CLANG_SOURCE_DIR}/include/clang/Format/Format.h
63-
${CLANG_SOURCE_DIR}/include/clang/Tooling/Inclusions/IncludeStyle.h
64-
${docs_tools_dir}/plurals.txt
65-
${docs_tools_dir}/dump_format_style.py
66-
)
67-
add_custom_target(clang-format-style-options DEPENDS ${style_options_depends})
68-
add_dependencies(clangFormat clang-format-style-options)

0 commit comments

Comments
 (0)