Thread (34 messages) 34 messages, 6 authors, 2017-09-28

Re: [PATCH v2 1/2] clang-format: outline the git project's coding style

flat view

From: Jeff King <hidden>
Date: 2017-08-14 22:48:38

On Mon, Aug 14, 2017 at 02:30:45PM -0700, Brandon Williams wrote:
quoted hunk ↗ jump to hunk
+# Align escaped newlines as far left as possible
+# #define A   \
+#   int aaaa; \
+#   int b;    \
+#   int cccccccc;
+AlignEscapedNewlines: Left
I get:

  $ git clang-format-5.0 --style file -p --extensions c,h
  YAML:34:23: error: unknown key 'AlignEscapedNewlines'
  AlignEscapedNewlines: Left
                        ^~~~
  Error reading /home/peff/compile/git/.clang-format: Invalid argument

Same with clang-format-3.8.

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