[cfe-commits] [patch] Elided __VA_ARGS__ now erase preceding comma in MS mode

Martin Vejnár Martin.Vejnar at avg.com
Mon Aug 27 02:42:33 PDT 2012


I've beed asked to post this patch to cfe-commits, so there you go. The preprocessor show now consume a comma before elided __VA_ARGS__ even if there is no pasting operator in between. E.g.

    #define X1(b, ...) {b,__VA_ARGS__}
   X1(foo)

resolves to

    {foo}
--
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120827/2d08a918/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_12845.diff
Type: application/octet-stream
Size: 2172 bytes
Desc: bug_12845.diff
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120827/2d08a918/attachment.obj>


More information about the cfe-commits mailing list