Skip to content

Commit

Permalink
webkitpy: Update Google Style Guide's URL
Browse files Browse the repository at this point in the history
The Google Code URL is no longer available; point to GitHub instead.

R=dpranke@chromium.org,thakis@chromium.org

Review-Url: https://codereview.chromium.org/2727423002
Cr-Commit-Position: refs/heads/master@{#454610}
  • Loading branch information
raphael.kubo.da.costa authored and Commit bot committed Mar 3, 2017
1 parent de6e85f commit 6eb31f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

# This is the modified version of Google's cpplint. The original code is
# http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py
# https://github.com/google/styleguide/tree/gh-pages/cpplint

"""Support for check-webkit-style."""

Expand Down Expand Up @@ -1597,7 +1597,7 @@ def check_for_function_lengths(clean_lines, line_number, function_state, error):
"""Reports for long function bodies.
For an overview why this is done, see:
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Short_Functions
https://google.github.io/styleguide/cppguide.html#Write_Short_Functions
Blank/comment lines are not counted so as to avoid encouraging the removal
of vertical space and comments just to get through a lint check.
Expand Down Expand Up @@ -2818,7 +2818,7 @@ def check_language(filename, clean_lines, line_number, file_extension, include_s
and line[-1] != '\\'):
error(line_number, 'build/namespaces', 4,
'Do not use unnamed namespaces in header files. See '
'http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Namespaces'
'https://google.github.io/styleguide/cppguide.html#Unnamed_Namespaces_and_Static_Variables'
' for more information.')

# Check for plain bitfields declared without either "singed" or "unsigned".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1691,7 +1691,7 @@ def test_unnamed_namespaces_in_headers(self):
self.assert_language_rules_check(
'foo.h', 'namespace {',
'Do not use unnamed namespaces in header files. See'
' http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Namespaces'
' https://google.github.io/styleguide/cppguide.html#Unnamed_Namespaces_and_Static_Variables'
' for more information. [build/namespaces] [4]')
# namespace registration macros are OK.
self.assert_language_rules_check('foo.h', 'namespace { \\', '')
Expand Down

0 comments on commit 6eb31f1

Please sign in to comment.