• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..16-Oct-2021-

LICENSEH A D16-Oct-20211.5 KiB2824

README.rstH A D16-Oct-20212.5 KiB8151

cpplint.pyH A D16-Oct-2021246.9 KiB6,5844,342

update.shH A D16-Oct-2021236 63

README.rst

1cpplint - static code checker for C++
2=====================================
3
4.. image:: https://travis-ci.org/cpplint/cpplint.svg?branch=master
5    :target: https://travis-ci.org/cpplint/cpplint
6
7.. image:: https://img.shields.io/pypi/v/cpplint.svg
8    :target: https://pypi.python.org/pypi/cpplint
9
10.. image:: https://img.shields.io/pypi/pyversions/cpplint.svg
11    :target: https://pypi.python.org/pypi/cpplint
12
13.. image:: https://img.shields.io/pypi/status/cpplint.svg
14    :target: https://pypi.python.org/pypi/cpplint
15
16.. image:: https://img.shields.io/pypi/l/cpplint.svg
17    :target: https://pypi.python.org/pypi/cpplint
18
19.. image:: https://img.shields.io/pypi/dd/cpplint.svg
20    :target: https://pypi.python.org/pypi/cpplint
21
22.. image:: https://img.shields.io/pypi/dw/cpplint.svg
23    :target: https://pypi.python.org/pypi/cpplint
24
25.. image:: https://img.shields.io/pypi/dm/cpplint.svg
26    :target: https://pypi.python.org/pypi/cpplint
27
28Cpplint is a command-line tool to check C/C++ files for style issues following `Google's C++ style guide <http://google.github.io/styleguide/cppguide.html>`_.
29Cpplint is developed and maintained by Google Inc. at `google/styleguide <https://github.com/google/styleguide>`_, also see see the `wikipedia entry <http://en.wikipedia.org/wiki/Cpplint>`_
30
31While Google maintains cpplint, Google is not (very) responsive to issues and pull requests, this fork aims to be (somewhat) more open to add fixes to cpplint to enable fixes, when those fixes make cpplint usable in wider contexts.
32
33
34Installation
35============
36
37
38To install cpplint from PyPI, run:
39
40.. code-block:: bash
41
42    $ pip install cpplint
43
44Then run it with:
45
46.. code-block:: bash
47
48    $ cpplint [OPTIONS] files
49
50For full usage instructions, run:
51
52.. code-block:: bash
53
54    $ cpplint --help
55
56Changes
57-------
58
59The modifications in this fork are minor fixes and cosmetic changes:
60
61* more default extensions
62* python 3 compatibility
63* customizable file extensions with the --extensions argument
64* continuous integration on travis
65* support for recursive file discovery via the --recursive argument
66* support for excluding files via --exclude
67* JUnit XML output format
68* Overriding repository root auto-detection via --repository
69* Support ``#pragma once`` as an alternative to header include guards
70
71
72Acknowledgements
73----------------
74
75Thanks to Google Inc. for open-sourcing their in-house tool.
76Thanks to maintainers of the fork
77
78* `tkruse <https://github.com/tkruse>`_
79* `mattyclarkson <https://github.com/mattyclarkson>`_
80* `theandrewdavis <https://github.com/theandrewdavis>`_
81