Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 174e435

Browse filesBrowse files
danbevtargos
authored andcommitted
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: #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 169a3d5 commit 174e435
Copy full SHA for 174e435

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎tools/cpplint.py‎

Copy file name to clipboardExpand all lines: tools/cpplint.py
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.