On Fri, Aug 9, 2013 at 11:00 AM, Benjamin Kramer <[email protected]>wrote:

> The list initializer version mentions the version number twice, I found
> that really ugly and the version string isn't used at all. I guess we could
> always call GCCVersion::Parse if we don't care about performance (I don't
> think this code is hot).


We could give it constructors instead of using braced init, and then have:
GCCVersion(4, 1, 1) auto-produce a version string...

Meh, I don't *really* care, I just didn't find this solution terribly
elegant, but its also not terrible inelegant, so "meh". We can stop wasting
time here.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to