FYI, GCC seems to use curly braces for some diagnostics:<br><br>given:<br>namespace { int x; }<br><div>namespace { int x; }<br></div><div><br></div><div>GCC outputs:</div><div>error: redefinition of ‘int {anonymous}::x’<br>
</div><div><br></div><div>Personally, I like the curly braces more than the parens.</div><div><br></div><div>Just my two cents on the issue.<br></div><br><div>On Wed Mar 12 2014 at 4:51:39 PM, Richard Smith <<a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 11, 2014 at 12:08 AM, David Blaikie <span dir="ltr"><<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>></span> wrote:<br>

</div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Partly out of consistency with GCC's anonymous namespace rendering<br>

("(anonymous namespace)") and just a desire not to have angle brackets<br>
be confused with a template argument list, this patch changes all our<br>
anonymous things to use parens.<br>
<br>
Not entirely consistent with GCC (GCC still uses angles for<br>
"<anonymous struct>" and other cases), but Chandler and Richard seemed<br>
to prefer consistency between the different kinds of names, rather<br>
than consistency with GCC here.<br>
<br>
I haven't added an actual debug info test, though that was my initial<br>
motivation - I can add one if someone thinks that's valuable.<br>
<br>
Any other thoughts?</blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Looking through the testcase updates, my gut reaction is that I find the ()s uglier than the <>s (maybe because it's more obvious that the <>s are not real language syntax?)... but I'm sure I'll get over it :)</div>

</div></div></div>
______________________________<u></u>_________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu" target="_blank">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-commits</a><br>
</blockquote>