On Jul 18, 2013, at 1:09 PM, Thompson, John 
<[email protected]> wrote:

> In modularize, it turns out I need the SourceRange for the “defined()” 
> expression. 

Why do you need a SourceRange, can't you just use the location of the 
identifier from the token parameter ?


> The enclosed patch addresses this, making it more like the MacroExpands 
> callback.

MacroExpands needs a source range due to function macro expansions.

>  
> Thanks.
>  
> -John
>  
> <ppcallbacks2.patch>

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to