Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 626 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 626 Bytes

CMSCodeChecker

A prototype for a standalone code checker for the CMSSW project

It offers:

  • code checks based on clang-tidy and existing components
  • standalone CMake infrastructure for compilation outside of llvm/clang source tree

Requirements/Building

  • llvm + clang + clang extra tools (release 7_0) required
  • build using cmake -DLLVM_DIR=PATH_TO_LLVM_CMAKE_CONFIG -DClang_DIR=PATH_TO_CLANG_CONFIG

Usage

In the build directory of CMS (containing the CMake compilations database in form of compile_command.json), run

run_CMSCodeChecker.py -clang-tidy-binary `which CMScodecheck` -checks=-*,cms*