<div>Hi, all,</div><div><br></div><div>I have made a patch to make clang::PPCallbacks::If() & clang::PPCallbacks::Elif() can pass-back a token tree.</div><div>That's what the original FIXME of these 2 functions said: "better to pass in a list (or tree!) of Tokens."</div>

<div><br></div><div>This patch has passed all the expected tests in the clang-test. (I use Visual C++ 2010 Express as my dev. environment)</div><div>1>  Testing Time: 738.14s</div><div>1>    Expected Passes    : 2877</div>

<div>1>    Expected Failures  : 26</div><div>1>    Unsupported Tests  : 5</div><div><br></div><div>I hope this patch can be merged into clang main trunk, and if you have any problems about this patch, please let me know, I'll modify it so that it can be merged.</div>

<div><br></div><div>===</div>Wei Hu<br><a href="http://code.google.com/u/wei.hu.tw/">http://code.google.com/u/wei.hu.tw/</a><br><a href="http://www.csie.ntu.edu.tw/~r88052/">http://www.csie.ntu.edu.tw/~r88052/</a><br><br>