On Oct 13, 2010, at 11:05 AM, Douglas Gregor wrote: > Author: dgregor > Date: Wed Oct 13 13:05:20 2010 > New Revision: 116413 > > URL: http://llvm.org/viewvc/llvm-project?rev=116413&view=rev > Log: > Introduce a bit into Type that keeps track of whether there are any > unnamed or local types within that type. This bit is cached along with > the linkage of a type, so that it can be recomputed (e.g., when we see > that a typedef has given a name to an anonymous declaration). > > Use this bit when checking C++03 [temp.arg.type]p2, so that we don't > walk template argument types repeatedly.
This looks awesome to me, but please update Type::BitsRemainingInType and check the users of that to make sure we're not bit-starving anything. John. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
