Difference between revisions of "Clang"
Jump to navigation
Jump to search
m (Mention Reddit forum post regarding git pre-commit-hooks.) |
m (Minor formatting.) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
2025-09-10 | 2025-09-10 | ||
− | * pocc/pre-commit-hooks | + | * 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/. | . . . 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/. | ||
+ | |||
+ | * 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