Expand description
The seven built-in presets, flattened to key / value strings.
Generated by tools/gen_presets.ps1 from
clang-format -style=<preset> -dump-config — 22.1.3, the build in Visual Studio 18. Nested keys are
Parent.Child, sequences are [a, b]. LLVM is the full table and every other preset is a delta
against it, which is what BasedOnStyle means.
Constants§
- LLVM
- The
LLVMpreset, which is also the base every other preset is a delta from. - PARSED_
BUT_ NOT_ DUMPED - Keys clang-format still accepts but no longer dumps — so the table above cannot list them, and a document
that writes one is not an error in clang-format (measured: 22.1.3 formats this corpus happily while its
.clang-formatsetsAllowAllConstructorInitializersOnNextLine, which the dump never prints).
Functions§
- delta
- One preset’s delta against
LLVM: every key whose value it changes, and nothing else.