I've been slowly working on enabling clang-tidy checks in my project and I'm running into an issue with the readability-identifier-naming
check. Sometimes it just doesn't highlight some names as incorrectly formatted but it will only do that in certain files. Example when the namespace case is set as lower_case
this snippet is found as violating the rules in some files but not others.
namespace testingUtilites{};
Clang-tidy is given the same arguments for all the files in question. I've also found that it just misses some functions names and I don't know why. Is this a common issues? How do I fix it?
Here's a minimal example of the clang-tidy command we're using
clang-tidy <list of files> -- -D<macro_flags> -Isrc -isystem /usr/lib/x86_64-linux-gnu/hdf5/serial/include -isystem /usr/local/cuda-11.4/include -L/lib64 -pthread -lgtest -lhdf5_cpp -L/usr/lib/x86_64-linux-gnu/hdf5/serial/lib -lhdf5 -L/usr/local/cuda-11.4/lib64 -lcudart -isystem /usr/lib/x86_64-linux-gnu/openmpi/include > tidy_results_cpp_hydro.log 2>&1 &