From 8fefdbd409bb7e29d92e6ba0daa73e3d28b02d8b Mon Sep 17 00:00:00 2001 From: easy Date: Tue, 5 Nov 2019 12:04:29 +1100 Subject: [PATCH 1/2] Use the Google C++ style guide. Fixes #5. --- CONTRIBUTING.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4ee5e1d7e6..317da432a2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,7 +15,10 @@ and [**Maintainer**](https://github.com/open-telemetry/community/blob/master/com ## Development -TBD +OpenTelemetry C++ uses +[Google C++ style](https://google.github.io/styleguide/cppguide.html). + +Code formatting will be enforced automatically via `clang-format`. ## Pull Requests From ecf34bb0e5c0b823caa29c4ca3bd2700f617e9d3 Mon Sep 17 00:00:00 2001 From: easy Date: Tue, 5 Nov 2019 13:04:58 +1100 Subject: [PATCH 2/2] Clarify that it's just naming. --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 317da432a2..eb68f164c6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,8 +15,8 @@ and [**Maintainer**](https://github.com/open-telemetry/community/blob/master/com ## Development -OpenTelemetry C++ uses -[Google C++ style](https://google.github.io/styleguide/cppguide.html). +OpenTelemetry C++ uses the [Google naming +convention](https://google.github.io/styleguide/cppguide.html#Naming). Code formatting will be enforced automatically via `clang-format`.