On Thu, Jan 10, 2019 at 08:01:52PM -0500, Ehsan Akhgari wrote:
The common way to deal with this problem is to indent nested preprocessor
directives, very much similarly to how we indent normal code, for example:
#if foo
# if bar
# define x 1
# else
# define x 2
# endif
#endif
+1
This has been my preferred style for a long time, but lately
clang-format just throws it away whenever I try to do it.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform