Skip to content
Commit 9205fb36 authored by Michael Platings's avatar Michael Platings
Browse files

Enable clang-tidy on header files

clang-tidy appears to search for the .clang-tidy configuration file in
the current working directory before searching the parent directories
of the source file. Previously a dummy .clang-tidy file was placed in
the build directory with the intent of avoiding running clang-tidy on
external projects like Google Test. Unfortunately, since the build
directory was the current working directory at build time this meant
that header files were not checked by clang-tidy. This change fixes the
problem by putting the dummy .clang-tidy file in the _deps directory
that CMake uses for external projects.

To ensure that headers in new directories such as kleidicv_thread are
checked by clang-tidy, make the header filter regular expression match
everything.
parent 8686d6fc
Loading
Loading
Loading
Pipeline #15712 passed with stages
in 50 minutes and 57 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment