Cpplint: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
I've added another source, so removign the PROD notice. Take it to AfD if you feel strongly about it. |
||
Line 1: | Line 1: | ||
{{Proposed deletion/dated |
|||
|concern = Does not meet notability criteria. Fails [[WP:GNG]] due to lack of [[WP:RS|reliable sources]]. |
|||
|timestamp = 20120209035847 |
|||
}} |
|||
'''cpplint''' is an open source [[lint (software)|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. <ref>{{cite web|title=Google C++ Style Guide|first=Benjy|last=Weinberger|url=http://rocs-toolkit.googlecode.com/svn/trunk/doc/google_styleguide.pdf}}</ref> |
'''cpplint''' is an open source [[lint (software)|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. <ref>{{cite web|title=Google C++ Style Guide|first=Benjy|last=Weinberger|url=http://rocs-toolkit.googlecode.com/svn/trunk/doc/google_styleguide.pdf}}</ref> |
||
cpplint is implemented as [[Python (programming language)|Python]] script. |
cpplint is implemented as [[Python (programming language)|Python]] script. |
Revision as of 18:47, 9 February 2012
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.
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. [2]
References
- ^ Weinberger, Benjy. "Google C++ Style Guide" (PDF).
- ^ Dutko, Adam. "THE RELATIONAL DATABASE: A NEW STATIC ANALYSIS TOOL?}]" (PDF).