Page MenuHomeFreeBSD

Import bsd.clang-analyze.mk from NetBSD.
ClosedPublic

Authored by bdrewery on Feb 26 2016, 1:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 4:53 AM
Unknown Object (File)
Fri, Dec 20, 8:57 AM
Unknown Object (File)
Mon, Dec 9, 4:28 AM
Unknown Object (File)
Thu, Dec 5, 9:07 PM
Unknown Object (File)
Thu, Nov 28, 11:10 PM
Unknown Object (File)
Nov 23 2024, 3:56 PM
Unknown Object (File)
Nov 6 2024, 10:11 AM
Unknown Object (File)
Nov 2 2024, 8:40 PM
Subscribers
None

Details

Summary

This allows 'make analyze' or 'make OBJ.clang-analyzer' to run the
Clang static analyzer and present results on stdout.

Sponsored by: EMC / Isilon Storage Division

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2664
Build 2683: arc lint + arc unit

Event Timeline

bdrewery retitled this revision from to Import bsd.clang-analyze.mk from NetBSD..
bdrewery updated this object.
bdrewery edited the test plan for this revision. (Show Details)
bdrewery added reviewers: emaste, dim, imp.
share/mk/bsd.clang-analyze.mk
29–30

These file-specific flags I intend to add everywhere else as well so I didn't remove from this import.

share/mk/bsd.clang-analyze.mk
29–30

Though this would support some scattered uses of them already: http://dpaste.com/1F4TQHS

This begs connecting to sys/conf/kern.post.mk and sys/conf/kmod.mk too.

Fix dependency on DPSRCS and hook into kmod.mk.

Hook into kernel. Requires running 'make /full/path/to/src.clang-analyze' or 'make kernel-analyze'

Various fixes, documentation, remove from kernel since it won't work due to
lack of -I everywhere, and support HTML outputs.

This revision was automatically updated to reflect the committed changes.