Skip to content

Commit

Permalink
Add a bare-bones C++ style guide
Browse files Browse the repository at this point in the history
BUG=none
NOTRY=true

Change-Id: I4488aff47db2b9220985156c5112db6d5a79a18e
Reviewed-on: https://chromium-review.googlesource.com/641872
Commit-Queue: Karl Wiberg <[email protected]>
Reviewed-by: Niels Moller <[email protected]>
Reviewed-by: Danil Chapovalov <[email protected]>
Cr-Commit-Position: refs/heads/master@{#19645}
  • Loading branch information
Karl Wiberg authored and Commit Bot committed Sep 3, 2017
1 parent bf94fda commit bb821e2
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ per-file [email protected]
per-file DEPS=*
per-file [email protected]
per-file WATCHLISTS=*
per-file [email protected]
per-file [email protected]
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ started developing with the native code.
* Samples and reference apps: https://github.com/webrtc
* Mailing list: http://groups.google.com/group/discuss-webrtc
* Continuous build: http://build.chromium.org/p/client.webrtc
* [Coding style guide](style-guide.md)
* [Code of conduct](CODE_OF_CONDUCT.md)
16 changes: 16 additions & 0 deletions style-guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# WebRTC coding style guide

## C++

WebRTC follows the [Chromium][chr-style] and [Google][goog-style] C++
style guides, unless an exception is listed below. In cases where they
conflict, the Chromium style guide trumps the Google style guide, and
the exceptions in this file trump them both.

[chr-style]: https://chromium.googlesource.com/chromium/src/+/master/styleguide/c++/c++.md
[goog-style]: https://google.github.io/styleguide/cppguide.html

### Exceptions

There are no exceptions yet. If and when exceptions are adopted,
they'll be listed here.

0 comments on commit bb821e2

Please sign in to comment.