Cpplint Processor
Purpose
Lints C/C++ files using cpplint (Google C++ style checker).
How It Works
Discovers .c, .cc, .h, and .hh files under src/ (excluding common
C/C++ build directories), runs cpplint on each file, and records success in
the cache. A non-zero exit code from cpplint fails the product.
This processor supports batch mode.
Source Files
- Input:
src/**/*.c,src/**/*.cc,src/**/*.h,src/**/*.hh - Output: none (checker)
Configuration
[processor.cpplint]
args = []
extra_inputs = []
| Key | Type | Default | Description |
|---|---|---|---|
args | string[] | [] | Extra arguments passed to cpplint |
extra_inputs | string[] | [] | Extra files whose changes trigger rebuilds |