Skip to content

Commit

Permalink
Updated cpplint.py to google#224:
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
[email protected] committed Jan 14, 2013
1 parent ed8e468 commit d350fe5
Show file tree
Hide file tree
Showing 2 changed files with 1,564 additions and 375 deletions.
Loading

0 comments on commit d350fe5

Please sign in to comment.