clang-tidy has added the check misc-include-cleaner with version 17. It checks for unused and missing includes. For instance, the following code will be flagged since the file gsl does not directly supply gsl::span
#include "gsl/include/gsl/gsl"
gsl::span<int>
The check misc-include-cleaner respects the IWYU pragmas. So, this pull request adds the IWYU pragmas.
clang-tidy has added the check misc-include-cleaner with version 17. It checks for unused and missing includes. For instance, the following code will be flagged since the file gsl does not directly supply gsl::span
The check misc-include-cleaner respects the IWYU pragmas. So, this pull request adds the IWYU pragmas.