Port details on branch 2022Q3 |
- include-what-you-use Tool for use with clang to analyze #includes in C and C++ source files
- 0.22 devel =0 0.21Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- Port Added: 2016-02-21 15:05:33
- Last Update: 2024-04-04 15:41:37
- Commit Hash: 6f32cb5
- License: NCSA
- WWW:
- https://include-what-you-use.org
- Description:
- "Include what you use" means this: for every symbol (type, function,
variable, or macro) that you use in foo.cc (or foo.cpp), either foo.cc
or foo.h should include a .h file that exports the declaration of that
symbol. (Similarly, for foo_test.cc, either foo_test.cc or foo.h should
do the including.) Obviously symbols defined in foo.cc itself are
excluded from this requirement.
This puts us in a state where every file includes the headers it needs
to declare the symbols that it uses. When every file includes what it
uses, then it is possible to edit any file and remove unused headers,
without fear of accidentally breaking the upwards dependencies of
that file. It also becomes easy to automatically track and update
dependencies in the source code.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- include-what-you-use>0:devel/include-what-you-use
- To install the port:
- cd /usr/ports/devel/include-what-you-use/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/include-what-you-use
- pkg install include-what-you-use
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: include-what-you-use
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1712231546
SHA256 (include-what-you-use-include-what-you-use-0.22_GH0.tar.gz) = 34c7636da2abe7b86580b53b762f5269e71efff460f24f17d5913c56eb99cb7c
SIZE (include-what-you-use-include-what-you-use-0.22_GH0.tar.gz) = 796681
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- llvm-config18 : devel/llvm18
- Runtime dependencies:
-
- llvm-config18 : devel/llvm18
- python3.8 : lang/python38
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_include-what-you-use
- USES:
- cmake llvm:18,build,run ncurses python:3.8,run shebangfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|