Mercurial > public > mercurial-scm > hg
diff mercurial/cext/charencode.c @ 36058:81199632fa42
charencode: adjust clang-format enable/disable comments
We're pretty close to being able to let clang-format manage most of
these files.
Differential Revision: https://phab.mercurial-scm.org/D2180
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 12 Feb 2018 10:36:59 -0500 |
parents | d0912876d7a7 |
children | 6c87d4113a90 |
line wrap: on
line diff
--- a/mercurial/cext/charencode.c Mon Feb 12 10:31:17 2018 -0500 +++ b/mercurial/cext/charencode.c Mon Feb 12 10:36:59 2018 -0500 @@ -65,7 +65,6 @@ '\x58', '\x59', '\x5a', /* x-z */ '\x7b', '\x7c', '\x7d', '\x7e', '\x7f' }; -/* clang-format on */ /* 1: no escape, 2: \<c>, 6: \u<x> */ static const uint8_t jsonlentable[256] = { @@ -102,6 +101,7 @@ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', }; +/* clang-format on */ /* * Turn a hex-encoded string into binary.