aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/cpp-style-guide.md
blob: a1f91353fe9e1a5fe4c03c5458e5ebc489970b66 (plain)
1
2
3
4
5
6
7
8
9
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).