Package Details: include-what-you-use-git r1344.ca25529-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:
Keywords: c c++ format header include iwyu
Licenses: LLVM Release License
Conflicts: include-what-you-use
Provides: include-what-you-use
Submitter: linkmauve
Maintainer: sm9cc
Last Packager: sm9cc
Votes: 2
Popularity: 0.002626
First Submitted: 2015-07-17 19:03 (UTC)
Last Updated: 2023-09-23 19:43 (UTC)

Required by (0)

Sources (1)

Latest Comments

disc-kuraudo commented on 2018-11-30 18:05 (UTC) (edited on 2018-11-30 18:07 (UTC) by disc-kuraudo)

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 (UTC)

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

cpence commented on 2017-11-01 22:26 (UTC)

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 (UTC)

cmake and llvm should be added to makedepends.

linkmauve commented on 2016-08-18 11:12 (UTC)

Thanks, this is now fixed.

jcelerier commented on 2016-08-18 10:00 (UTC)

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') source=("$_pkgbase::git+")

Damaskino commented on 2016-03-31 09:17 (UTC) (edited on 2016-03-31 09:17 (UTC) by Damaskino)

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?