[patch] Render anonymous entities with "(anonymous thing)" rather than "<anonymous thing>"

Eric Christopher echristo at gmail.com
Tue Mar 11 09:23:16 PDT 2014


I'm down :)

-eric

On Tue, Mar 11, 2014 at 12:08 AM, David Blaikie <dblaikie at gmail.com> wrote:
> Partly out of consistency with GCC's anonymous namespace rendering
> ("(anonymous namespace)") and just a desire not to have angle brackets
> be confused with a template argument list, this patch changes all our
> anonymous things to use parens.
>
> Not entirely consistent with GCC (GCC still uses angles for
> "<anonymous struct>" and other cases), but Chandler and Richard seemed
> to prefer consistency between the different kinds of names, rather
> than consistency with GCC here.
>
> I haven't added an actual debug info test, though that was my initial
> motivation - I can add one if someone thinks that's valuable.
>
> Any other thoughts?
>
> - David
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



More information about the cfe-commits mailing list