Cpplint

From Wikipedia, the free encyclopedia
Jump to: navigation, search

cpplint is an open source lint-like tool developed by Google, designed to ensure that C++ code conforms to Google's coding style guides. It reads source code files and flags deviations from the style guide. It suffers from both false positives and false negatives. False positives can be eliminated by tagging lines with //NOLINT. [1] cpplint is implemented as Python script.[2]

cpplint implements what Google considers to be "best practices" in C++ coding. It also identifies syntax errors. It is rules based, and uses a number of heuristics to identify bad code. [3]

References[edit]