<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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.<br>

</blockquote></div>
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.<br>
<font color="#888888">
</font></blockquote><div><br>I'll lay that at the feet of my text editor. I guess I didn't realize how much actually changed. Here's the same diff - hopefully all the relevant parts - without  the WS changes. I cut all the seemingly trivial changes by hand. Hopefully, I didn't cut anything important.<br>
</div></div><br>Andrew Sutton<br><a href="mailto:andrew.n.sutton@gmail.com">andrew.n.sutton@gmail.com</a><br>