Difference between revisions of "Clang"
Jump to navigation
Jump to search
m (Add link to Stackexchange post 55965712.) |
m (Minor formatting.) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
* https://stackoverflow.com/questions/55965712/how-do-i-add-clang-formatting-to-pre-commit-hook | * https://stackoverflow.com/questions/55965712/how-do-i-add-clang-formatting-to-pre-commit-hook | ||
+ | |||
+ | == [[#top|^]] Specific Format Choicel == | ||
+ | |||
+ | What does the following clang-format setting do? | ||
+ | |||
+ | AlignAfterOpenBracket: Align | ||
+ | |||
+ | == [[#top|^]] LLVM Clang-format References == | ||
+ | |||
+ | * https://releases.llvm.org/3.6.1/tools/clang/docs/ClangFormatStyleOptions.html |
Latest revision as of 16:44, 15 September 2025
Notes on clang-format
This local page to hold notes and references about clang-format and related C, C++ and higher level language formatters and code checkers.
First references . . .
2025-09-10
- https://github.com/pocc/pre-commit-hooks - C/C++ hooks to integrate with pre-commit
. . . above link found near or at the end of Reddit forum post https://www.reddit.com/r/cpp/comments/bh8dbt/precommit_cc_integrations_clangformat_clangtidy/.
^ Specific Format Choicel
What does the following clang-format setting do?
AlignAfterOpenBracket: Align