[PATCH] Enhance PPCallbacks::Defined callback to provide SourceRange

Thompson, John John_Thompson at playstation.sony.com
Thu Jul 18 13:09:20 PDT 2013


In modularize, it turns out I need the SourceRange for the "defined()" expression.  The enclosed patch addresses this, making it more like the MacroExpands callback.

Thanks.

-John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130718/54741d01/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppcallbacks2.patch
Type: application/octet-stream
Size: 4274 bytes
Desc: ppcallbacks2.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130718/54741d01/attachment.obj>


More information about the cfe-commits mailing list