[PATCH] D115848: tidy-llvm

Chris Bieneman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 19 20:33:30 PST 2022


beanz added a comment.

Sorry I’m a bit late here. If you want to use clang-tidy on a CMake built project (like LLVM) you can use CMake’s built-in support for clang-tidy:

https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_CLANG_TIDY.html

This will run clang-tidy during the project build with each compile invocation.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115848/new/

https://reviews.llvm.org/D115848



More information about the cfe-commits mailing list