You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the attached example, unused includes #include <stdio.h> and #include <inttypes.h> are not removed from number_generator.h.
These are the steps to reproduce:
# Extract the attached archive
tar xvf test-includes.tar.gz
cd test-includes
# Build the example program (compilation database is also created in the process)
mkdir build && cd build
cmake ..
cmake --build .
run-clang-tidy-18.py -header-filter='-*' -checks='-*,misc-include-cleaner' -fix
# Observe that number_generator.h still contains `#include <stdio.h>` and `#include <inttypes.h>`, despite being unused.
(Note that the attached example as well as the steps to reproduce are identical to issue #113926.)
In the attached example, unused includes `#include <stdio.h>` and `#include <inttypes.h>` are not removed from `number_generator.h`.
These are the steps to reproduce:
# Extract the attached archive
tar xvf test-includes.tar.gz
cd test-includes
# Build the example program (compilation database is also created in the process)
mkdir build && cd build
cmake ..
cmake --build .
run-clang-tidy-18.py -header-filter='-*' -checks='-*,misc-include-cleaner' -fix
# Observe that number_generator.h still contains `#include <stdio.h>` and `#include <inttypes.h>`, despite being unused.
(Note that the attached example as well as the steps to reproduce are identical to issue #113926.)
In the attached example, unused includes
#include <stdio.h>
and#include <inttypes.h>
are not removed fromnumber_generator.h
.These are the steps to reproduce:
(Note that the attached example as well as the steps to reproduce are identical to issue #113926.)
Thank you.
test-includes.tar.gz
The text was updated successfully, but these errors were encountered: