dirs: tag a struct as not being formattable
authorAugie Fackler <augie@google.com>
Tue, 15 Oct 2019 09:52:33 -0400
changeset 43232 be178b5d91c8
parent 43231 30570a056fa8
child 43233 ea62d7b06c12
dirs: tag a struct as not being formattable Differential Revision: https://phab.mercurial-scm.org/D7103
mercurial/cext/dirs.c
--- a/mercurial/cext/dirs.c	Wed Oct 02 14:38:34 2019 -0400
+++ b/mercurial/cext/dirs.c	Tue Oct 15 09:52:33 2019 -0400
@@ -27,10 +27,12 @@
  * We modify Python integers for refcounting, but those integers are
  * never visible to Python code.
  */
+/* clang-format off */
 typedef struct {
 	PyObject_HEAD
 	PyObject *dict;
 } dirsObject;
+/* clang-format on */
 
 static inline Py_ssize_t _finddir(const char *path, Py_ssize_t pos)
 {