]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add WITH_CLANG_FORMAT option
authorcem <cem@FreeBSD.org>
Wed, 24 Jun 2020 17:03:42 +0000 (17:03 +0000)
committercem <cem@FreeBSD.org>
Wed, 24 Jun 2020 17:03:42 +0000 (17:03 +0000)
commit763f7660dbdd4cf997384038e349bfeda537e0b8
treead355d54f6114efa21fb324877d058eab32015ec
parenta43e85119407ea70e16f34fbae3cc7fa93e775c3
Add WITH_CLANG_FORMAT option

clang-format is enabled conditional on either WITH_CLANG_EXTRAS or
WITH_CLANG_FORMAT.  Some sources in libclang are build conditional on
either rule, and obviously the clang-format binary itself depends on the
rule.

clang-format could still use a manual page.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D25427
Makefile.inc1
lib/clang/libclang/Makefile
share/mk/src.opts.mk
targets/pseudo/bootstrap-tools/Makefile
targets/pseudo/clang/Makefile.depend
tools/build/mk/OptionalObsoleteFiles.inc
tools/build/options/WITH_CLANG_FORMAT [new file with mode: 0644]
usr.bin/clang/Makefile