mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
fc0c7286c8
commit
7fabf77f7d
1 file changed
+2
-2
Vendored
+2
-2
@@ -3299,7 +3299,7 @@ def CheckForFunctionLengths(filename, clean_lines, linenum,
|
||||
"""Reports for long function bodies.
|
||||
|
||||
For an overview why this is done, see:
|
||||
https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Short_Functions
|
||||
https://google.github.io/styleguide/cppguide.html#Write_Short_Functions
|
||||
|
||||
Uses a simplistic algorithm assuming other style guidelines
|
||||
(especially spacing) are followed.
|
||||
@@ -5154,7 +5154,7 @@ def CheckLanguage(filename, clean_lines, linenum, file_extension,
|
||||
and line[-1] != '\\'):
|
||||
error(filename, linenum, 'build/namespaces', 4,
|
||||
'Do not use unnamed namespaces in header files. See '
|
||||
'https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Namespaces'
|
||||
'https://google.github.io/styleguide/cppguide.html#Namespaces'
|
||||
' for more information.')
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user