Package Details: include-what-you-use-git r664.953970c-1

Git Clone URL: (read-only, click to copy)
Package Base: include-what-you-use-git
Description: A tool for use with clang to analyze #includes in C and C++ source files
Upstream URL:
Licenses: LLVM Release License
Conflicts: include-what-you-use
Provides: include-what-you-use=0.8
Submitter: linkmauve
Maintainer: linkmauve
Last Packager: linkmauve
Votes: 1
Popularity: 0.000000
First Submitted: 2015-07-17 19:03
Last Updated: 2017-06-11 20:24

Latest Comments

daren commented on 2018-11-30 18:05

Can easily build by replacing makedepends and depends with:

depends=('clang' 'llvm')

There is a recent branch for clang 7.0.0, change source to:

source=("$_pkgbase::git+ -you-use#branch=clang_7.0")

damien commented on 2018-02-22 17:00

The clang_5.0 branch seems to work fine with the current clang package in extra.

cpence commented on 2017-11-01 22:26

I'm not sure how to handle this, given the strange way that IWYU is tied to LLVM/clang versions, but the 'master' branch does now work with clang/llvm 5.0.

If anybody out there would like to build with 5.0, you can remove the branch reference from this package (in the source variable), and change the dependencies on clang to >=5.0 <5.1. You may also need to add "LDFLAGS='-lncurses -ltinfo'" to the cmake line (after "CXX=clang++"), if you get (as I did) errors with linking 'setupterm' and friends.

forkbong commented on 2017-08-29 15:09

cmake and llvm should be added to makedepends.

linkmauve commented on 2016-08-18 11:12

Thanks, this is now fixed.

jcelerier commented on 2016-08-18 10:00

This is out of date.
Here is the lines that have to change for work with clang-3.8 :

depends=('clang>=3.8' 'clang<3.9')
makedepends=('clang>=3.8' 'clang<3.9')

Damaskino commented on 2016-03-31 09:17

I'm getting the following error when trying to install the package with yaourt:

Scanning dependencies of target include-what-you-use
[ 7%] Building CXX object CMakeFiles/include-what-you-use.dir/
/tmp/yaourt-tmp-chen/aur-include-what-you-use-git/src/include-what-you-use/ error:
no member named 'CK_BooleanToSignedIntegral' in namespace 'clang'
case clang::CK_BooleanToSignedIntegral:
1 error generated.
CMakeFiles/include-what-you-use.dir/build.make:62: recipe for target 'CMakeFiles/include-what-you-use.dir/' failed
make[2]: *** [CMakeFiles/include-what-you-use.dir/] Error 1

Am I missing a dependency?