aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/cpp-style-guide.md
blob: 8211703d02b021d90dc21ae4ff20ea0fd676aef2 (plain)
1
2
3
4
5
6
7
8
GRPC C++ STYLE GUIDE
=====================

The majority of gRPC's C++ requirements are drawn from the [Google C++ style
guide] (https://google.github.io/styleguide/cppguide.html). Additionally,
as in C, layout rules are defined by clang-format, and all code
should be passed through clang-format. A (docker-based) script to do
so is included in [tools/distrib/clang_format_code.sh](../tools/distrib/clang_format_code.sh).