Package iwyu: Information
Source package: iwyu
Version: 0.25-alt1
Build time: Dec 14, 2025, 01:42 AM in the task #402825
Category: Development/C
Report package bugLicense: NCSA
Summary: C/C++ source files #include analyzer based on clang
Description:
"Include what you use" means this: for every symbol (type, function, variable, or macro) that you use in foo.cc (or foo.cpp), either foo.cc or foo.h should include a .h file that exports the declaration of that symbol. (Similarly, for foo_test.cc, either foo_test.cc or foo.h should do the including.) Obviously symbols defined in foo.cc itself are excluded from this requirement. This puts us in a state where every file includes the headers it needs to declare the symbols that it uses. When every file includes what it uses, then it is possible to edit any file and remove unused headers, without fear of accidentally breaking the upwards dependencies of that file. It also becomes easy to automatically track and update dependencies in the source code.
List of RPM packages built from this SRPM:
iwyu (x86_64, i586, aarch64)
iwyu-debuginfo (x86_64, i586, aarch64)
iwyu (x86_64, i586, aarch64)
iwyu-debuginfo (x86_64, i586, aarch64)
Maintainer: Andrey Bergman
Last changed
Dec. 13, 2025 Andrey Bergman 0.25-alt1
- Update to version 0.25 (Clang 21).
May 25, 2025 Andrey Bergman 0.24-alt1
- Update to version 0.24 (Clang 20).
March 22, 2025 Andrey Bergman 0.23-alt1
- Update to version 0.23 (Clang 19).