@@ -1,8 +1,6 @@
1−{ stdenv, fetchurl, cmake, llvmPackages }:
1+{ stdenv, fetchurl, cmake, llvmPackages_35 }:
22
3−with llvmPackages;
4−
5−let version = "3.5"; in
3+let version = "3.5"; in with llvmPackages_35;
64stdenv.mkDerivation rec {
75 name = "include-what-you-use-${version}";
86
@@ -16,12 +14,9 @@ stdenv.mkDerivation rec {
1614 longDescription = ''
1715 For every symbol (type, function variable, or macro) that you use in
1816 foo.cc, either foo.cc or foo.h should #include a .h file that exports the
19− declaration of that symbol. The include-what-you-use tool is a program
20− that can be built with the clang libraries in order to analyze #includes
21− of source files to find include-what-you-use violations, and suggest
22− fixes for them. The main goal of include-what-you-use is to remove
23− superfluous #includes. It does this both by figuring out what #includes
24− are not actually needed for this file (for both .cc and .h files), and
17+ declaration of that symbol. The main goal of include-what-you-use is to
18+ remove superfluous #includes, both by figuring out what #includes are not
19+ actually needed for this file (for both .cc and .h files), and by
2520 replacing #includes with forward-declares when possible.
2621 '';
2722 homepage = http://include-what-you-use.com;