Fix dead links to Google style guide
A few of the links pointing to Google's cpp style guide were pointing to dead pages where the old Google code project was. The project has since switched to Github and hosts itself as html pages. This commit updates the references to point to the new urls.
This commit is contained in:
parent
3d1d4dea47
commit
4cb18a99fe
|
@ -1,7 +1,7 @@
|
||||||
# Style Guide
|
# Style Guide
|
||||||
|
|
||||||
The style guide can be summed up as 'clang-format with the Google style set'.
|
The style guide can be summed up as 'clang-format with the Google style set'.
|
||||||
In addition, the [Google Style Guide](http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml)
|
In addition, the [Google Style Guide](https://google.github.io/styleguide/cppguide.html)
|
||||||
is followed and cpplint is the source of truth. When in doubt, defer to what
|
is followed and cpplint is the source of truth. When in doubt, defer to what
|
||||||
code in the project already does.
|
code in the project already does.
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@ Base rules:
|
||||||
* 80 column line length max
|
* 80 column line length max
|
||||||
* LF (Unix-style) line endings
|
* LF (Unix-style) line endings
|
||||||
* 2-space soft tabs, no TABs!
|
* 2-space soft tabs, no TABs!
|
||||||
* [Google Style Guide](http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml) for naming/casing/etc
|
* [Google Style Guide](https://google.github.io/styleguide/cppguide.html) for naming/casing/etc
|
||||||
* Sort includes according to the [style guide rules](http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Names_and_Order_of_Includes)
|
* Sort includes according to the [style guide rules](https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes)
|
||||||
* Comments are properly punctuated (that means capitalization and periods, etc)
|
* Comments are properly punctuated (that means capitalization and periods, etc)
|
||||||
* TODO's must be attributed like `// TODO(yourgithubname): foo.`
|
* TODO's must be attributed like `// TODO(yourgithubname): foo.`
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ lines.
|
||||||
|
|
||||||
### Why?
|
### Why?
|
||||||
|
|
||||||
To quote the [Google Style Guide](http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml):
|
To quote the [Google Style Guide](https://google.github.io/styleguide/cppguide.html):
|
||||||
|
|
||||||
```
|
```
|
||||||
One way in which we keep the code base manageable is by enforcing consistency.
|
One way in which we keep the code base manageable is by enforcing consistency.
|
||||||
|
|
Loading…
Reference in New Issue