claims you just need to add --enable-clang-plugin to your mozconfig and build.
Unfortunately it doesn't seem to be that simple on Mac since Xcode doesn't come
with the 'llvm-config' binary:
configure: error: Cannot find an llvm-config binary for building a
clang plugin
(I notice Xcode also doesn't seem to have 'clang-tidy'.)