aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/clang-format.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/clang-format.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/clang-format.md b/docs/clang-format.md
new file mode 100644
index 0000000..217b2da
--- /dev/null
+++ b/docs/clang-format.md
@@ -0,0 +1,5 @@
+`clang-format` all C/C++ files in the project.
+
+ $ cd project/
+ $ python3 path/to/tools/clang-format.py # Prints a diff
+ $ python3 path/to/tools/clang-format.py -i # Edits files in-place