llnl / llnl/blt

Add support for command-line- or config-file-specified clang-tidy checks

Open
#399 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
296
Forks
66
Avg merge
1h 3m
Merged PRs (30d)
1

Description

Per https://github.com/LLNL/blt/pull/395#pullrequestreview-486204789, it would be useful to allow the user to specify `clang-tidy` checks via command-line (e.g. with a custom CMake command) or with a `clang-tidy` config file, for the purpose of applying `clang-tidy`-driven changes to source files without needing to have CMake reconfigure/regenerate.

Contributor guide

Open the contributing guide

Research direction

Start with the linked pull request review for the motivation and inspect how BLT currently configures clang-tidy through CMake. Trace the existing clang-tidy integration and determine how command-line checks or a clang-tidy config file could be passed without reconfiguration. Done means users can apply those externally specified checks to source files without CMake regenerating.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.