Commit Graph

469 Commits

Author SHA1 Message Date
erg@google.com
e35f765fa6 Update cpplint.py to #122:
- Don't check quoted filenames with irrelevant tests.
- Make cpplint accept 'for (foo; bar; ) {}'.
- Work with temporary files generated by Emacs flymake-mode.
- Don't warn on "/// Doxygen comments."
- Check the use of DCHECK in the same way we check the use of CHECK.
- Properly handle relative file paths with IncludeWhatYouUse checking.
- Start checking for IncludeWhatYouUse in a limited way in .cc files.
2009-06-19 20:52:09 +00:00
mmentovai
a764d2becf Update Objective-C style guide to 2.12:
- Refer to the correct section on avoiding exceptions
2009-04-17 17:48:25 +00:00
mmentovai
71619d34e3 Update C++ style guide to 3.133:
- Clarify that a "very strong convention" is, in fact, only very strong
   within Google code
 - Update the style guide with an additional naming possibility for enums:
   kEnumName
 - Reword the summary for the section on header file dependencies
 - Simplify wording regarding static variables

Update Objective-C style guide to 2.11:
 - Provide guidance on when to use #import and #include
 - Display revision in style guide

Update styleguide.xsl with a hint of things to come

Set svn:eol-style on xmlstyle.html
2009-03-25 22:24:14 +00:00
erg@google.com
3664910272 Update cpplint.py to #114:
- Prevent invalid increment constructs
- Allow long URLs in lines without hitting the 80 char limit
- Prevent false positives of "Extra space after ( in function call" in macro definitions.
2009-03-25 21:18:36 +00:00
jcowan@google.com
f1dcb61af8 Checked in scrubbed version of Google XML Document Format Style Guide
(Internal version at go/xmlstyle)
2009-03-18 17:23:38 +00:00
erg@google.com
a87abb8b53 Update cpplint.py to #110.
- Allow comments with URLs to exceed the 80 column limit.
- Avoid false positives for "Lint failed to find start of function body"
  test.
- Add checks for transform and min_element.
- Style fixes

Review URL: http://codereview.chromium.org/28056
2009-02-24 01:41:01 +00:00
mmentovai
e2ee45d952 Set svn properties for cpplint 2009-01-15 20:36:30 +00:00
erg@google.com
6d21cdc1e6 Update C++ style guide to 3.127:
- Clarification on curly braces
- Link to cpplint.py
2009-01-13 21:41:00 +00:00
erg@google.com
4e00b9a0d1 Open-sourcing cpplint.py. 2009-01-12 23:05:11 +00:00
mmentovai
cb5692d118 Update C++ style guide to 3.124:
- Include revision number
 - Link to google-c-style.el
2009-01-05 16:13:08 +00:00
mmentovai
db0be8e44d Update C++ style guide:
- Allow unsigned types where defined overflow behavior is desired
 - Clarify that a function-closing } is permitted on the same line as an
   opening { for one-line functions

Set svn:eol-style = native on google-c-style.el
2008-12-17 22:24:29 +00:00
erg@google.com
219b1a61fd Open-sourcing our emacs c-mode style rules. 2008-12-17 20:22:40 +00:00
pinkerton
b87a3025fc space comments correctly on code example 2008-09-23 16:20:02 +00:00
pinkerton
a7dd19342d Add section on properties from dmaclach, remove some tabs. 2008-09-10 19:31:02 +00:00
mmentovai
48fcffea4c Update C++ style guide:
- Change list of permitted Boost libraries
 - Permit one space before // in a new {scope}
 - Grammar fix!

Update Objective-C style guide:
 - Link spacing changes only
2008-09-04 18:34:20 +00:00
pinkerton
7bcc208650 fix typo 2008-09-02 12:51:27 +00:00
pinkerton
c6fe2bcedd open-sourcing Google's objective-C/C++ style guide. 2008-08-29 18:04:02 +00:00
mmentovai
d451a2472a Update title and list of approved Boost libraries. 2008-07-01 16:28:01 +00:00
mmentovai
6fb1d37420 Initial public release of the Google C++ Style Guide 2008-06-27 20:10:09 +00:00