[cfe-dev] Detecting Macro Expansions

Nico Weber thakis at chromium.org
Tue Jul 26 21:17:09 PDT 2011


Try integerLiteral->getLocation().isMacroID() (untested)

Nico

On Tue, Jul 26, 2011 at 9:08 PM, Timothy McClory <tmcclory at udel.edu> wrote:
> How can I determine if an IntegerLiteral comes from a macro expansion?
>
> Thanks
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>



More information about the cfe-dev mailing list