git.iko.soy/typeable/nixpkgs
on master help sign in
include-what-you-use: pin clang to version 3.5

Fixes Hydra failure with clang 3.6 <http://hydra.nixos.org/build/20560181>. Also shorten excessive longDescription a bit.

commit9060ae8f8978dc95fddf16d4a7c0522a4b44c9ff authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> dateThu 26 Mar 2015, 00:25 (12 years ago) parent70a8bfb
1 file changed+5−10
pkgs/development/tools/analysis/include-what-you-use/default.nix+5−10
pkgs/development/tools/analysis/include-what-you-use/default.nix+5−10
@@ -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;