]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add WITH_CLANG_FORMAT option
authorConrad Meyer <cem@FreeBSD.org>
Wed, 24 Jun 2020 17:03:42 +0000 (17:03 +0000)
committerConrad Meyer <cem@FreeBSD.org>
Wed, 24 Jun 2020 17:03:42 +0000 (17:03 +0000)
commit0a9ab9f549b413fa2febee9706cf7d4e330f961a
treead355d54f6114efa21fb324877d058eab32015ec
parent1388cfe1b500db39d4858083f333e50c0f80b5e4
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