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