LLVM Discussion Forums

Phabricator reviews and noisy clang-tidy

So in trying to upstream code that lowers the flang front-end into MLIR, I recently started seeing dozens (hundreds?) of clang-tidy messages about identifiers and case. Since the code in question follows the MLIR coding conventions (small camelBack), the warnings are pure noise as far as I can tell.

Has anyone else seen this? Is there a way to fix clang-tidy?

(The code in flang/include/flang/{Lower|Optimizer} and flang/lib/{Lower|Optimizer} follows the MLIR coding conventions.)

Clang-tidy is configured in the repo itself, for example here for all the code under MLIR: https://github.com/llvm/llvm-project/blob/master/mlir/.clang-tidy