Cpplint

Uses your system voice; voice and rate in settings.

Snapshot

≈ 3 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

cpplint or cpplint.py is an open source lint-like tool developed by Google, designed to ensure that C++ code conforms to Google's coding style guides. Therefore, cpplint implements what Google considers best practices in C++ coding. The script cpplint.py reads source code files and flags deviations from the style guide. It also identifies syntax errors. It is rules based, and uses a number of heuristics to identify bad code. Cpplint is not perfect, as it can suffer from occasional false positives and negatives.

Nevertheless, it is still a very useful tool for style enforcement. Moreover, rules can be fine-grained selected using the options and . Line length rule can be configured with option and file extensions can be configured with (by default: 'h', 'cpp', 'cc', 'cu' and 'cuh'). Some options can be stored in a configuration file . cpplint is implemented as a Python script. It is distributed under the 3 clause BSD license.

cpplint or cpplint.py is an open source lint-like tool developed by Google, designed to ensure that C++ code conforms to Google's coding style guides. Therefore, cpplint implements what Google considers best practices in C++ coding. The script cpplint.py reads source code files and flags deviations from the style guide. It also identifies syntax errors. It is rules based, and uses a number of heuristics to identify bad code. Cpplint is not perfect, as it can suffer from occasional false positives and negatives.

Nevertheless, it is still a very useful tool for style enforcement. Moreover, rules can be fine-grained selected using the options and . Line length rule can be configured with option and file extensions can be configured with (by default: 'h', 'cpp', 'cc', 'cu' and 'cuh'). Some options can be stored in a configuration file . cpplint is implemented as a Python script. It is distributed under the 3 clause BSD license.

See also

Google C++ style guide cpplint on GitHub cpplint on PyPI

References

Text derived from https://en.wikipedia.org/w/index.php?oldid=1345115071 under CC BY-SA 4.0; modifications have been made.

Sources cited in this revision

3 named source(s) extracted from the cited revision. A source with no author is shown by its publication; nothing is invented.