Skip to content

Commit afa9a72

Browse files
committed
tools: update link to google styleguide for cpplint
This commit updates two old links to Google's C++ styleguide which currently result in a 404 when accessed. PR-URL: nodejs/node#30876 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 357a992 commit afa9a72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/cpplint.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3299,7 +3299,7 @@ def CheckForFunctionLengths(filename, clean_lines, linenum,
32993299
"""Reports for long function bodies.
33003300
33013301
For an overview why this is done, see:
3302-
https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Short_Functions
3302+
https://google.github.io/styleguide/cppguide.html#Write_Short_Functions
33033303
33043304
Uses a simplistic algorithm assuming other style guidelines
33053305
(especially spacing) are followed.
@@ -5154,7 +5154,7 @@ def CheckLanguage(filename, clean_lines, linenum, file_extension,
51545154
and line[-1] != '\\'):
51555155
error(filename, linenum, 'build/namespaces', 4,
51565156
'Do not use unnamed namespaces in header files. See '
5157-
'https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Namespaces'
5157+
'https://google.github.io/styleguide/cppguide.html#Namespaces'
51585158
' for more information.')
51595159

51605160

0 commit comments

Comments
 (0)