Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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 = []
KeyTypeDefaultDescription
argsstring[][]Extra arguments passed to cpplint
extra_inputsstring[][]Extra files whose changes trigger rebuilds