changeset 43232:be178b5d91c8

dirs: tag a struct as not being formattable Differential Revision: https://phab.mercurial-scm.org/D7103
author Augie Fackler <augie@google.com>
date Tue, 15 Oct 2019 09:52:33 -0400
parents 30570a056fa8
children ea62d7b06c12
files mercurial/cext/dirs.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)
 {