Search code examples
llvmhomebrewclang-tidy

macOS homebrew llvm clang tidy some checks are missing


I have installed LLVM via brew on macOS with the below mentioned command:

brew install --with-toolchain [email protected] 

I would like to use clang-tidy but some checks are missing, for example misc-string-compare.

What could be the problem?


Solution

  • As far as I can see, misc-string-compare was introduced in LLVM 4.0