D7103: dirs: tag a struct as not being formattable
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Tue Oct 15 13:54:57 UTC 2019
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D7103
AFFECTED FILES
mercurial/cext/dirs.c
CHANGE DETAILS
diff --git a/mercurial/cext/dirs.c b/mercurial/cext/dirs.c
--- a/mercurial/cext/dirs.c
+++ b/mercurial/cext/dirs.c
@@ -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)
{
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list