[cfe-dev] RFC: unreachable catch-clauses due to superclass cathes

Mike Stump mrs at apple.com
Thu Jul 30 08:30:58 PDT 2009


On Jul 30, 2009, at 3:34 AM, Erik Verbruggen wrote:
> I pondered a bit on this, and I cannot think of a non-quadratic  
> algorithm. So, does anybody have ideas for this?

Yes.  When Sema and CodeGen do all the conversions and checking  
nicely, there well may be primitives that can get you an answer  
faster.  Hide the bad algorithms behind a nice api, the idea being,  
all the clients can use the nice api now, and eventually someone will  
fix it up.



More information about the cfe-dev mailing list