Updated cpplint.py to #224:

- Better emacs-flymake integration
- Fix false  positives in macros and template parameters
- Improve the wording on the make_pair warning
- Remove virtual keyword checks (now a warning in clang)
- Add checks for namespaces
- Check that DISALLOW_* macros are always in the "private:" section
- Fix false positives for gMock
- Check for alternative boolean operator tokens
- Fix false positives for space on parens
- Fix false positives about placement of "{" near preprocessor macros
- Don't lint inside inlined assembler
- Don't warn on "auto"; it is now a type shortcut, not a storage class
- Don't warn on c++11 for loops
- Warn on empty loop bodies
- Don't warn on unnamed args for the postincrement operator
- Fixes for "<" placement now allowed in c++11
Review URL: https://codereview.appspot.com/7039047
This commit is contained in:
erg@google.com 2013-01-14 17:51:48 +00:00
parent ed8e4680ce
commit d350fe561e
2 changed files with 1545 additions and 356 deletions

974
cpplint/cpplint.py vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff