Difference between revisions of "Clang"

From Wiki at Neela Nurseries
Jump to navigation Jump to search
m (Add link to Stackexchange post 55965712.)
m (Add question regarding AlignAfterOpenBracket.)
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?
 +
 +
<code>AlignAfterOpenBracket: Align</code>

Revision as of 16:38, 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

. . . 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