Skip to content
Sections
>> Trisquel >> Packages >> etiona >> devel >> iwyu
etiona  ] [  nabia  ] [  aramo  ]
[ Source: iwyu  ]

Package: iwyu (5.0-1)

Analyze #includes in C and C++ source files

"Include what you use" means this: for every symbol (type, function variable, or macro) that you use in foo.cc, either foo.cc or foo.h should #include a .h file that exports the declaration of that symbol. The include-what-you-use tool is a program that can be built with the clang libraries in order to analyze #includes of source files to find include-what-you-use violations, and suggest fixes for them.

The main goal of include-what-you-use is to remove superfluous #includes. It does this both by figuring out what #includes are not actually needed for this file (for both .cc and .h files), and replacing #includes with forward-declares when possible.

Other Packages Related to iwyu

  • depends
  • recommends
  • suggests
  • dep: clang
    C, C++ and Objective-C compiler (LLVM based)
    or clang-4.0
    C, C++ and Objective-C compiler
    or clang-5.0
    C, C++ and Objective-C compiler
    or clang-6.0
    C, C++ and Objective-C compiler
    or clang-7
    Package not available
  • dep: libc6 (>= 2.15)
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
  • dep: libgcc1 (>= 1:3.4) [amd64]
    GCC support library
    dep: libgcc1 (>= 1:4.2) [i386]
  • dep: libstdc++6 (>= 5.2)
    GNU Standard C++ Library v3
  • dep: libtinfo5 (>= 6)
    shared low-level terminfo library for terminal handling
  • dep: python
    interactive high-level object-oriented language (default version)
  • dep: zlib1g (>= 1:1.2.0)
    compression library - runtime

Download iwyu

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 6,459.6 kB28809 kB [list of files]
i386 7,354.8 kB30603 kB [list of files]