Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

AliceO2Group/O2CodeChecker

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

O2CodeChecker

A prototype for a standalone code checker for the AliceO2 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 3_9) required
    • (recommended to use alibuild build clang which will give you the right version)
  • build using cmake -DLLVM_DIR=PATH_TO_LLVM_CMAKE_CONFIG -DClang_DIR=PATH_TO_CLANG_CONFIG

Usage

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

run_O2CodeChecker.py -clang-tidy-binary `which O2codecheck` -checks=*,alice*

About

AliceO2 Custom Static Analysis Tools

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 8

Morty Proxy This is a proxified and sanitized view of the page, visit original site.