[cfe-dev] Locations under a conditional directive
Kostas Ferles
kferles at gmail.com
Tue Sep 3 14:38:36 PDT 2013
Hi all,
Is there a way given a SourceLocation to determine if this location is
under a preprocessor conditional directive (e.g., #ifdef, #if, etc.). I
tried adding the PPConditionalDirectiveRecord as a preprocessor callback
and then calling the rangeIntersectsConditionalDirective, but that
didn't work.
Cheers,
Kostas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130903/d6d15213/attachment.html>
More information about the cfe-dev
mailing list