cpplint
« Back to VersTracker
Description:
Static code checker for C++
Type: Formula  |  Latest Version: 2.0.2@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c++ linting static-analysis code-style developer-tools
Install: brew install cpplint
About:
cpplint is a static code checker that enforces Google's C++ style guide. It analyzes C++ source files to ensure compliance with formatting, naming conventions, and structural rules. This tool helps teams maintain consistent, readable codebases and catch common style errors early in the development process.
Key Features:
  • Enforces Google C++ Style Guide rules
  • Detects style violations and formatting errors
  • Configurable via comment markers in source code
  • Integrates easily into CI/CD pipelines
Use Cases:
  • Automated code review for C++ projects
  • Enforcing team coding standards
  • Pre-commit hooks for style validation
Alternatives:
  • clang-format – clang-format focuses on automatic code formatting, while cpplint focuses on style rule enforcement and linting.
  • cppcheck – cppcheck focuses on finding bugs and memory issues, while cpplint focuses on style and formatting consistency.
License: Apache-2.0
Dependencies: python@3.14
Bottles available for: all
Version History
Detected Version Rev Change Commit
Oct 10, 2024 2:58am 0 VERSION_BUMP b9e23b24
Oct 9, 2024 10:14pm 0 VERSION_BUMP 22b8662d