[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] clang formatting discussion
From: |
ng0 |
Subject: |
Re: [GNUnet-developers] clang formatting discussion |
Date: |
Thu, 25 Apr 2019 22:41:00 +0000 |
I've been playing around with clang-format a bit more.
@@ -239,7 +239,8 @@ GNUNET_TIME_absolute_get_forever_ ()
* Convert relative time to an absolute time in the
* future.
*
- * @return timestamp that is "rel" in the future, or FOREVER if rel==FOREVER
(or if we would overflow)
+ * @return timestamp that is "rel" in the future, or FOREVER if rel==FOREVER
(or
+ * if we would overflow)
*/
would this cause problems with doxygen?
In general it's uhm... weird. But I guess we're mostly okay
with clang-format then it seems. I disagree with some of
its suggestions, like
@@ -927,8 +929,7 @@ GNUNET_TIME_absolute_get_monotonic (const struct
GNUNET_CONFIGURATION_Handle *cf
/**
* Destructor
*/
-void __attribute__ ((destructor))
-GNUNET_util_time_fini ()
+void __attribute__ ((destructor)) GNUNET_util_time_fini ()
{
(void) GNUNET_TIME_absolute_get_monotonic (NULL);
}
but I guess you have to make compromises once you rely on
such a tool.
- Re: [GNUnet-developers] clang formatting discussion, (continued)
- Re: [GNUnet-developers] clang formatting discussion, ng0, 2019/04/18
- Re: [GNUnet-developers] clang formatting discussion, Christian Grothoff, 2019/04/18
- Re: [GNUnet-developers] clang formatting discussion, ng0, 2019/04/18
- Re: [GNUnet-developers] clang formatting discussion, Christian Grothoff, 2019/04/18
- Re: [GNUnet-developers] clang formatting discussion, ng0, 2019/04/18
Re: [GNUnet-developers] clang formatting discussion, Schanzenbach, Martin, 2019/04/18
Re: [GNUnet-developers] clang formatting discussion, Christian Grothoff, 2019/04/18
Re: [GNUnet-developers] clang formatting discussion (documenting it), ng0, 2019/04/25
Re: [GNUnet-developers] clang formatting discussion,
ng0 <=