{"added":null,"apiVersion":1,"behindSince":"2026-10-09","buildDepends":[],"categories":["devel"],"comment":"Analyze #includes in C and C++ source files","compare":"/compare/include-what-you-use/index.json","dependentCount":null,"description":"\"Include what you use\" means this: for every symbol (type, function\nvariable, or macro) that you use in foo.cc, either foo.cc or foo.h\nshould #include a .h file that exports the declaration of that symbol.\nThe include-what-you-use tool is a program that can be built with the\nclang libraries in order to analyze #includes of source files to find\ninclude-what-you-use violations, and suggest fixes for them.\n\nThe main goal of include-what-you-use is to remove superfluous #includes.\nIt does this both by figuring out what #includes are not actually needed for\nthis file (for both .cc and .h files), and replacing #includes with\nforward-declares when possible.","flavors":[],"html":"https://daemonports.org/netbsd/devel/include-what-you-use/","kind":"port","lastUpdate":"2026-10-11T16:02:16Z","license":["modified-bsd"],"maintainer":"pkgsrc-users@NetBSD.org","name":"include-what-you-use","newest":false,"newestVersion":"0.27","noVulnData":false,"origin":"devel/include-what-you-use","otherSystems":[{"maintainer":"bofh@FreeBSD.org","newest":true,"origin":"devel/include-what-you-use","path":"/devel/include-what-you-use/","system":"FreeBSD","updated":"2026-10-09","version":"0.27"},{"behindSince":"2026-10-09","maintainer":"Jonathan Gray \u003cjsg@openbsd.org\u003e","noVulnData":true,"origin":"devel/include-what-you-use","path":"/openbsd/devel/include-what-you-use/","system":"OpenBSD","version":"0.26"},{"behindSince":"2026-10-09","maintainer":"bofh@FreeBSD.org","noVulnData":true,"origin":"devel/include-what-you-use","path":"","system":"HardenedBSD","version":"0.26"}],"packages":[{"repo":"NetBSD 10.1 x86_64","versions":["0.25"]},{"repo":"NetBSD 10.1 aarch64","versions":["0.25"]},{"repo":"SmartOS / illumos x86_64","versions":["0.26nb1"]},{"repo":"macOS 15 arm64","versions":["0.26nb1"]}],"pkgName":"include-what-you-use-0.25","related":null,"repository":"pkgsrc","requiredBy":[],"requiredByCount":0,"runDepends":["lang/clang","lang/python313"],"status":null,"system":"netbsd","systemLabel":"NetBSD","version":"0.25","versions":[{"commit":"d5d8330892a6590c1b5fbb3353203c3818f10203","date":"2026-10-11","version":"0.26"},{"commit":"a4856445eeb82d05fa9ef7ac38e5e24daadad19c","date":"2026-10-11","version":"0.25"}],"vulnerabilities":null,"www":"https://include-what-you-use.org/"}
