clang-format: exhaustive style list (#8493)

* clang-format: exhaustive style list

* Update clang-format.md
This commit is contained in:
Ulysse Buonomo
2022-09-19 18:47:15 +02:00
committed by GitHub
parent bc0b1f2736
commit 2ac7568e03

View File

@@ -13,7 +13,7 @@
- Format a file using a predefined coding style:
`clang-format --style={{LLVM|Google|Chromium|Mozilla|WebKit}} {{path/to/file}}`
`clang-format --style={{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} {{path/to/file}}`
- Format a file using the `.clang-format` file in one of the parent directories of the source file:
@@ -21,4 +21,4 @@
- Generate a custom `.clang-format` file:
`clang-format --style={{LLVM|Google|Chromium|Mozilla|WebKit}} --dump-config > {{.clang-format}}`
`clang-format --style={{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} --dump-config > {{.clang-format}}`