mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
Set svn properties for cpplint
This commit is contained in:
parent
6d21cdc1e6
commit
e2ee45d952
|
@ -1,24 +1,24 @@
|
||||||
This is automated checker to make sure a C++ file follows Google's C++ style
|
This is automated checker to make sure a C++ file follows Google's C++ style
|
||||||
guide (http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml). As it
|
guide (http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml). As it
|
||||||
heavily relies on regular expressions, cpplint.py won't catch all violations of
|
heavily relies on regular expressions, cpplint.py won't catch all violations of
|
||||||
the style guide and will very occasionally report a false positive. There is a
|
the style guide and will very occasionally report a false positive. There is a
|
||||||
list of things we currently don't handle very well at the top of cpplint.py,
|
list of things we currently don't handle very well at the top of cpplint.py,
|
||||||
and we welcome patches to improve it.
|
and we welcome patches to improve it.
|
||||||
|
|
||||||
The linting tool takes a list of files as input. For full usage instructions,
|
The linting tool takes a list of files as input. For full usage instructions,
|
||||||
please see the output of:
|
please see the output of:
|
||||||
|
|
||||||
./cpplint.py --help
|
./cpplint.py --help
|
||||||
|
|
||||||
Unit tests are provided in cpplint_unittest.py. This file can safely be ignored
|
Unit tests are provided in cpplint_unittest.py. This file can safely be ignored
|
||||||
by end users who have downloaded this package and only want to run the lint
|
by end users who have downloaded this package and only want to run the lint
|
||||||
tool.
|
tool.
|
||||||
|
|
||||||
cpplint.py and its corresponding unit tests are Copyright (C) 2009 Google Inc.
|
cpplint.py and its corresponding unit tests are Copyright (C) 2009 Google Inc.
|
||||||
It is free software; you can redistribute it and/or modify it under the terms
|
It is free software; you can redistribute it and/or modify it under the terms
|
||||||
of either:
|
of either:
|
||||||
|
|
||||||
a) the GNU General Public License as published by the Free Software
|
a) the GNU General Public License as published by the Free Software
|
||||||
Foundation; either version 1, or (at your option) any later version, or
|
Foundation; either version 1, or (at your option) any later version, or
|
||||||
|
|
||||||
b) the "Artistic License".
|
b) the "Artistic License".
|
||||||
|
|
0
cpplint/cpplint.py
vendored
Normal file → Executable file
0
cpplint/cpplint.py
vendored
Normal file → Executable file
0
cpplint/cpplint_unittest.py
Normal file → Executable file
0
cpplint/cpplint_unittest.py
Normal file → Executable file
Loading…
Reference in New Issue
Block a user