| 1 |
Source: iwyu |
| 2 |
Section: devel |
| 3 |
Priority: optional |
| 4 |
Maintainer: LLVM Packaging Team <[email protected]> |
| 5 |
Uploaders: Sylvestre Ledru <[email protected]> |
| 6 |
Build-Depends: debhelper-compat (= 13), cmake, clang-19, libclang-19-dev, |
| 7 |
llvm-19-dev, help2man, libncurses-dev, zlib1g-dev, chrpath |
| 8 |
Standards-Version: 4.7.0 |
| 9 |
Homepage: https://include-what-you-use.org/ |
| 10 |
Vcs-Git: https://salsa.debian.org/pkg-llvm-team/iwyu.git |
| 11 |
Vcs-Browser: https://salsa.debian.org/pkg-llvm-team/iwyu |
| 12 |
|
| 13 |
Package: iwyu |
| 14 |
Architecture: any |
| 15 |
Depends: ${shlibs:Depends}, ${misc:Depends}, |
| 16 |
clang, clang-19, |
| 17 |
python3 |
| 18 |
Description: Analyze #includes in C and C++ source files |
| 19 |
"Include what you use" means this: for every symbol (type, function variable, |
| 20 |
or macro) that you use in foo.cc, either foo.cc or foo.h should #include a .h |
| 21 |
file that exports the declaration of that symbol. The include-what-you-use |
| 22 |
tool is a program that can be built with the clang libraries in order to |
| 23 |
analyze #includes of source files to find include-what-you-use violations, |
| 24 |
and suggest fixes for them. |
| 25 |
. |
| 26 |
The main goal of include-what-you-use is to remove superfluous #includes. |
| 27 |
It does this both by figuring out what #includes are not actually needed for |
| 28 |
this file (for both .cc and .h files), and replacing #includes with |
| 29 |
forward-declares when possible. |