Given the file file.cpp is inside src/dir/subdir/file.cpp
configuring the ignore in:
.clang-format-ignore
src/**/*
and running clang-format -i src/dir/subdir/file.cpp
will result to:
formatted src/dir/subdir/file.cpp.
I expected it to ignore src/dir/subdir/file.cpp.
Found in 19.1.4. Seems to be the same issue in other versions.
Platform: Windows 11