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

Git Clone URL: (read-only, click to copy)
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: 27
Popularity: 0.111730
First Submitted: 2011-12-03 05:58
Last Updated: 2020-11-21 21:07

Latest Comments

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

tegularius commented on 2016-09-06 21:21

makedepends should include cmake

mmlb commented on 2015-12-28 05:05

@Svenstaro that was by design since the previous version of IWYU is incompatible with 3.7. I just updated to latest released version that works with 3.7.

Svenstaro commented on 2015-09-29 05:42

This conflicts with llvm 3.7.0 in Arch because 3.7 is < 3.7.0.

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++