Package Details: include-what-you-use 1:0.12-1

Git Clone URL: (read-only)
Package Base: include-what-you-use
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
Submitter: Mindless
Maintainer: sebschrader (jetm)
Last Packager: jetm
Votes: 25
Popularity: 0.768809
First Submitted: 2011-12-03 05:58
Last Updated: 2019-04-14 18:10

Pinned Comments

jetm commented on 2019-10-12 03:16

Clang v9 is out, but project upstream is not updated yet. I will update after upstream project update. More details:

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

mmlb commented on 2015-07-23 13:47

@nerzhul, fixed thanks!

nerzhul commented on 2015-07-21 10:08

Please add llvm as a dependancy to fix erikw error

mmlb commented on 2015-06-01 15:31

@erikw I've updated the package

mmlb commented on 2015-05-25 01:14

erikw are you using clang 3.6? That's not out yet, see

In the meantime, maybe I should change the PKGBUILD to depend on the exact version of clang.

erikw commented on 2015-05-24 09:26

Compilation errors:

[ 7%] Building CXX object CMakeFiles/include-what-you-use.dir/
In file included from /tmp/yaourt-tmp-erikw/aur-include-what-you-use/src/include-what-you-use/
In file included from /tmp/yaourt-tmp-erikw/aur-include-what-you-use/src/include-what-you-use/iwyu_ast_util.h:19:
/tmp/yaourt-tmp-erikw/aur-include-what-you-use/src/include-what-you-use/port.h:16:10: fatal error: 'llvm/Support/Compiler.h' file not found
#include "llvm/Support/Compiler.h"

mmlb commented on 2014-12-30 16:27

@xantares, did you take a look at the second script offered? The one that uses the compile_commands.json output? I could still throw in your adaptation, but if the python script works for you that would be a better option than continually hacking cmake "compilers".

xantares commented on 2014-12-29 13:38


iwyu cannot be used in a cmake project:!topic/include-what-you-use/N6441qSN9Og

i adapted the wrapper script proposed as solution, could you include it ?

then in the install section add this:
# install wrapper for cmake usage
# from!topic/include-what-you-use/N6441qSN9Og
install -m755 "$srcdir"/iwyu-wrapper "$pkgdir"/usr/bin/iwyu-clang
install -m755 "$srcdir"/iwyu-wrapper "$pkgdir"/usr/bin/iwyu-clang++


mmlb commented on 2014-09-05 18:15

@bchretien, thanks for the info its updated.

bchretien commented on 2014-08-29 11:39

This can be updated to 3.4:

dom0 commented on 2014-05-05 20:47

makedepends should include cmake