aboutsummaryrefslogtreecommitdiff
path: root/doc/developer-notes.md
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-01-30 13:49:34 +0100
committerMarcoFalke <falke.marco@gmail.com>2017-01-30 13:50:01 +0100
commit53ab12d9318d5d195ccc77028b0e3ae66dc6e1fd (patch)
tree5cfc1e547de4c0354691e90c078d0aef4fbce031 /doc/developer-notes.md
parent71fc17f6673eae2e44d226e21692283a85786c44 (diff)
parentfa5137c11d2d4accd9bfc68b3498e7e16829c3ab (diff)
downloadbitcoin-53ab12d9318d5d195ccc77028b0e3ae66dc6e1fd.tar.xz
Merge #9649: [doc] Remove unused clang format dev script
fa5137c [doc] Remove unused clang format dev script (MarcoFalke)
Diffstat (limited to 'doc/developer-notes.md')
-rw-r--r--doc/developer-notes.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/developer-notes.md b/doc/developer-notes.md
index f8c34e060f..989ad8d03e 100644
--- a/doc/developer-notes.md
+++ b/doc/developer-notes.md
@@ -4,10 +4,11 @@ Developer Notes
Various coding styles have been used during the history of the codebase,
and the result is not very consistent. However, we're now trying to converge to
a single style, so please use it in new code. Old code will be converted
-gradually.
+gradually and you are encouraged to use the provided
+[clang-format-diff script](/contrib/devtools/README.md#clang-format-diffpy)
+to clean up the patch automatically before submitting a pull request.
+
- Basic rules specified in [src/.clang-format](/src/.clang-format).
- Use a recent clang-format to format automatically using one of the [dev scripts]
- (/contrib/devtools/README.md#clang-formatpy).
- Braces on new lines for namespaces, classes, functions, methods.
- Braces on the same line for everything else.
- 4 space indentation (no tabs) for every block except namespaces.