FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
include-what-you-use Tool for use with clang to analyze
0.7_1 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: koobs@FreeBSD.org search for ports maintained by this maintainer
Port Added: 21 Feb 2016 15:05:33
License: NCSA
"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.

WWW: http://include-what-you-use.org
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/devel/include-what-you-use/ && make install clean
To add the package: pkg install include-what-you-use

PKGNAME: include-what-you-use

ONLY_FOR_ARCHS: nil

NOT_FOR_ARCHS: nil

distinfo:

TIMESTAMP = 1481367090
SHA256 (include-what-you-use-include-what-you-use-0.7-clang_3.9_GH0.tar.gz) = 0057f48ee69ed998c77378b1cc97913c60115a2ad627ed94cf041be609bdf864
SIZE (include-what-you-use-include-what-you-use-0.7-clang_3.9_GH0.tar.gz) = 433659


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. clang39 : devel/llvm39
  2. cmake : devel/cmake
Runtime dependencies:
  1. clang39 : devel/llvm39
  2. python2.7 : lang/python27
There are no ports dependent upon this port

Configuration Options
     No options to configure

USES:
cmake:outsource ncurses python:run shebangfix

Master Sites:
  1. https://codeload.github.com/include-what-you-use/include-what-you-use/tar.gz/clang_3.9?dummy=/

Number of commits found: 8

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
21 May 2017 21:55:08
Original commit files touched by this commit  0.7_1
Revision:441429
linimon search for other commits by this committer
Mark some ports failing on power64.  In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
Reported by:	swills
16 May 2017 21:05:41
Original commit files touched by this commit  0.7_1
Revision:441058
tcberner search for other commits by this committer
Fix shebangs.

Approved by:	rakuco (mentor, implicit)
01 Jan 2017 03:45:13
Original commit files touched by this commit  0.7
Revision:430235
sunpoet search for other commits by this committer
Remove BROKEN_FreeBSD_9

Approved by:	portmgr (blanket)
27 Dec 2016 12:16:32
Original commit files touched by this commit  0.7
Revision:429611
rene search for other commits by this committer
devel/include-what-you-use: update to version 0.7

- now uses clang 3.9 instead of clang 3.7
- add mappings for Qt 5.4
- premilinary mapings for libc++
- bugfix in fix_incudes.py
- various other fixes and enhancements
- add pkg-plist

PR:		215211
Submitted by:	rene
Approved by:	maintainer timeout (koobs, 16 days)
21 Oct 2016 08:40:09
Original commit files touched by this commit  0.5_1
Revision:424392
amdmi3 search for other commits by this committer
- Mark broken on 9.x:

cc1plus: error: unrecognized command line option "-std=c++11"

Approved by:	portmgr blanket
01 Apr 2016 14:00:57
Original commit files touched by this commit  0.5_1
Revision:412346
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
09 Mar 2016 11:12:05
Original commit files touched by this commit  0.5_1
Revision:410698
antoine search for other commits by this committer
Fix DEPENDS
21 Feb 2016 15:05:22
Original commit files touched by this commit  0.5
Revision:409295
koobs search for other commits by this committer
[NEW] devel/include-what-you-use: Clang tool to analyze #includes in C and C++
sources

"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.

WWW: http://include-what-you-use.org

Number of commits found: 8

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
eximJun 21
openvpnJun 21
openvpn-mbedtlsJun 21
pear-Horde_ImageJun 21
pear-Horde_ImageJun 21
apache22Jun 20
apache24Jun 20
chromiumJun 16
curlJun 15
linux-flashplayerJun 15
p5-RT-Authen-ExternalAuthJun 15
rt42Jun 15
rt44Jun 15
firefoxJun 13
firefox-esrJun 13

13 vulnerabilities affecting 73 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 30411
Broken 167
Deprecated 83
Ignore 460
Forbidden 0
Restricted 207
No CDROM 84
Vulnerable 153
Expired 37
Set to expire 79
Interactive 0
new 24 hours 1
new 48 hours7
new 7 days33
new fortnight313
new month495

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.