summaryrefslogtreecommitdiffstats
path: root/share/man/man7
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-02-26 22:14:00 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-02-26 22:14:00 +0000
commit9f2509a6deb036ca8dd6e04560c42cd593eac382 (patch)
treece0dc0e1a3423d3c39600fd162009b4772b460d3 /share/man/man7
parent90e73584af2e96fd025c164a45b0954f21d4d1bc (diff)
downloadFreeBSD-src-9f2509a6deb036ca8dd6e04560c42cd593eac382.zip
FreeBSD-src-9f2509a6deb036ca8dd6e04560c42cd593eac382.tar.gz
Import bsd.clang-analyze.mk based on NetBSD's version.
This allows 'make analyze' or 'make OBJ.clang-analyzer' to run the Clang static analyzer and present results on stdout. Obtained from: NetBSD (CVS Rev. 1.3) Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5449
Diffstat (limited to 'share/man/man7')
-rw-r--r--share/man/man7/build.74
1 files changed, 3 insertions, 1 deletions
diff --git a/share/man/man7/build.7 b/share/man/man7/build.7
index b32d7ed..985c165 100644
--- a/share/man/man7/build.7
+++ b/share/man/man7/build.7
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 21, 2015
+.Dd February 26, 2016
.Dt BUILD 7
.Os
.Sh NAME
@@ -107,6 +107,8 @@ section below, and by the variables documented in
The following list provides the names and actions for the targets
supported by the build system:
.Bl -tag -width ".Cm cleandepend"
+.It Cm analyze
+Run Clang static analyzer against all objects and present output on stdout.
.It Cm check
Run tests for a given subdirectory.
The default directory used is
OpenPOWER on IntegriCloud