[cfe-dev] c++ templates

Sebastian Redl sebastian.redl at getdesigned.at
Thu Nov 13 09:52:44 PST 2008


Andrew Sutton wrote:
> Attached is a very (VERY) preliminary stab at the beginning of 
> template parsing for clang. It's not complete, it doesn't do anything, 
> there's no AST stuff, I haven't even considered scopes and name 
> resolution, etc., etc. It just recognizes "template <...>". I had 
> hoped to spend some spare time, an hour or so a day (whenever 
> possible) to continue working on this. Please bear in mind that a) 
> I've never worked on a real compiler before and b) I probably don't 
> fully understand the requirements of what I'm working on.
I hate to be nitpicking instead of giving constructive comments, but a 
lot of the patch is just changes in whitespace. While I agree that all 
the trailing whitespace in the Clang source is a bit annoying, those 
changes make the patch very hard to read.

Sebastian



More information about the cfe-dev mailing list