Are there any tools which parse .h files and recommend the removal of #includes
. For example if the defines in the include are not being used or if it is possible to do a forward declaration instead.
I work on both windows and linux platforms.
Are there any tools which parse .h files and recommend the removal of #includes
. For example if the defines in the include are not being used or if it is possible to do a forward declaration instead.
I work on both windows and linux platforms.
ReDHead is a project for exactly that. It's an Eclipse plug-in.
I was looking for such tool some time ago and I now found out that this functionality is also provided by Resharper C++ plugin for Visual Studio.
© 2022 - 2024 — McMap. All rights reserved.