[cfe-dev] using AstMatchers to identify user defined pragmas

Deepak Rajendrakumaran deepak3 at vt.edu
Wed Jan 21 10:03:05 PST 2015


Hello,

I am trying to use AstMatchers to identify a custom user defined pragma(say
"#pragma myPragma") in my source code. But when I dumped the AST for my
source code, I do not see the pragma as part of the AST. Is it possible to
use AstMatcher to figure out the user defined Pragmas using astMatchers??

regards,
deepak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150121/685652bd/attachment.html>


More information about the cfe-dev mailing list