<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 4, 2020, 1:01 AM Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Apr 3, 2020 at 1:11 PM Vaibhav Gupta <<a href="mailto:vaibhav.varodek@gmail.com" target="_blank" rel="noreferrer">vaibhav.varodek@gmail.com</a>> wrote:<br>
><br>
> IMO we should have a rule for nested CPP directives.<br>
> And also the commenting. It makes the code more readable<br>
> as a part of good coding style.<br>
><br>
> Specially if the directives are nested, because they don't<br>
> use brackets, too many opening-closing pair can make<br>
> the code hard to read.<br>
><br>
<br>
We do have some precedent for aligning the #ifdef with the surrounding<br>
code when it is in a scoped block. I can at least get on board with<br>
that, and the commenting. The discussion should be had in a separate<br>
thread though. Would you care to present the proposal?<br></blockquote></div></div><div dir="auto">Sure!</div><div dir="auto"><br></div><div dir="auto">--Vaibhav Gupta</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
> -- Vaibhav Gupta<br>
</blockquote></div></div></div>