[cfe-commits] A patch for PPCallbacks::If() & Elif() functions to fix what the FIXME says.

Wei wei.hu.tw at gmail.com
Wed Apr 20 07:09:57 PDT 2011


Hi, all,

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

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

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.

===
Wei Hu
http://code.google.com/u/wei.hu.tw/
http://www.csie.ntu.edu.tw/~r88052/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110420/5333b273/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: all.patch
Type: application/octet-stream
Size: 27578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110420/5333b273/attachment.obj>


More information about the cfe-commits mailing list