Thread (71 messages) 71 messages, 6 authors, 2024-07-24

Re: [PATCH 1/8] clang-format: indent preprocessor directives after hash

From: Chris Torek <hidden>
Date: 2024-07-08 10:09:11

On Mon, Jul 8, 2024 at 2:23 AM Karthik Nayak [off-list ref] wrote:
Let's pick the former and add 'IndentPPDirectives: AfterHash' value to
our '.clang-format'. There is no clear reason to pick one over the
other, but it would definitely be nicer to be consistent.
There is one extremely weak technical reason to pick "# in left column",
which is: some ancient C compilers required it. I don't think any modern
ones do.

Chris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help