On Dec 26, 2008, at 3:00 PM, Eli Friedman wrote:
On Fri, Dec 26, 2008 at 2:48 PM, Anders Carlsson <[email protected]>
wrote:
There's not much to say... I think we were planning at one point
to do
this a bit differently so that we didn't have to define so many
identifiers on initialization, but this works.
Oh, how?
Roughly, define a new function, __builtin_limit(), or something like
that, which the preprocessor expands, that allows queries for these
sorts of things. That way, we can get rid of the mess of
DefineBuiltinMacro calls in Preprocessor.cpp. I suppose it's not a
particularly high priority, though.
Yep, something like __builtin_numeric_property("whatever") could be
used. This reduces load on the identifier table, and could be
extensible to other related things. I agree that this isn't a super
high priority though :)
-Chris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits