FreshPorts -- The Place For Ports notbugIf 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.8_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
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (17 items)
  1. /usr/local/share/licenses/include-what-you-use-0.8_1/catalog.mk
  2. /usr/local/share/licenses/include-what-you-use-0.8_1/LICENSE
  3. /usr/local/share/licenses/include-what-you-use-0.8_1/NCSA
  4. bin/fix_includes.py
  5. bin/include-what-you-use
  6. bin/iwyu_tool.py
  7. share/include-what-you-use/boost-all-private.imp
  8. share/include-what-you-use/boost-all.imp
  9. share/include-what-you-use/gcc.libc.imp
  10. share/include-what-you-use/gcc.stl.headers.imp
  11. share/include-what-you-use/gcc.symbols.imp
  12. share/include-what-you-use/iwyu.gcc.imp
  13. share/include-what-you-use/libcxx.imp
  14. share/include-what-you-use/qt4.imp
  15. share/include-what-you-use/qt5_4.imp
  16. share/include-what-you-use/stl.c.headers.imp
  17. share/include-what-you-use/third_party.imp
  18. Collapse this list.

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

distinfo:

TIMESTAMP = 1512206198
SHA256 (include-what-you-use-include-what-you-use-0.8-clang_5.0_GH0.tar.gz) = a9ec29f9a2127816facabe3fab1d72dc5b5326ebe5013f2223b56565f3783828
SIZE (include-what-you-use-include-what-you-use-0.8-clang_5.0_GH0.tar.gz) = 439081


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

Build dependencies:
  1. clang50 : devel/llvm50
  2. cmake : devel/cmake
  3. ninja : devel/ninja
Runtime dependencies:
  1. clang50 : devel/llvm50
  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_5.0?dummy=/

Number of commits found: 10

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
29 Jan 2018 11:11:03
Original commit files touched by this commit  0.8_1
Revision:460253
jbeich search for other commits by this committer
devel/include-what-you-use: switch to llvm50 (like r457360)

PR:		224617
Approved by:	maintainer timeout (1 month)
MFH:		2018Q1
24 Dec 2017 14:20:07
Original commit files touched by this commit  0.8
Revision:457165
rene search for other commits by this committer
devel/include-what-you-use: update to version 0.8

This version uses clang 4.0 instead of clang 3.9 to check files.
While here, pet portlint.

PR:		223537
Submitted by:	Anton Yuzhaninov (citrin+pr@citrin.ru)
Approved by:	maintainer timeout (koobs, 7 weeks)
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: 10

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
bind912May 21
xorg-server*May 20
curlMay 16
chromiumMay 11
wavpackMay 11
jenkinsMay 10
jenkins-ltsMay 10
firefoxMay 09
firefox-esrMay 09
libxulMay 09
linux-firefoxMay 09
linux-flashplayerMay 09
linux-seamonkeyMay 09
linux-thunderbirdMay 09
seamonkeyMay 09

9 vulnerabilities affecting 109 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2018-05-21 04:12:47


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 34342
Broken 105
Deprecated 136
Ignore 357
Forbidden 2
Restricted 162
No CDROM 77
Vulnerable 32
Expired 9
Set to expire 124
Interactive 0
new 24 hours 10837
new 48 hours10870
new 7 days10974
new fortnight11054
new month14312

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