1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 07:15:22 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}}`