Skip to content

clang-tidy: allow OBJC and OBJCXX

Andrew Fuller requested to merge andrew/cmake:bugfix/clang-tidy-for-objc into master

This is a bit of a regression. Before OBJC and OBJCXX were first class languages in CMake, CMAKE_<C|CXX>_CLANG_TIDY would scan .m and .mm files. But with newer CMake if a project enables OBJC/OBJCXX as distinct languages they are no longer candidates for Clang Tidy. This allows setting CMAKE_OBJC_CLANG_TIDY and CMAKE_OBJCXX_CLANG_TIDY so we can have them scanned.

Topic-rename: clang-tidy-for-objc

Edited by Brad King

Merge request reports