[cfe-dev] Get the location of a previous token in Clang
james long via cfe-dev
cfe-dev at lists.llvm.org
Sun Oct 25 16:22:06 PDT 2015
Dear all,
I am currently writing a libtooling tool.
Suppose a 'pragma' like following is registered:
#pragma tool
It is easily to get the location of token 'tool', but how to get the
location
of token 'pragma' ? Which API should I use?
Thanks in advance!
Best
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151025/3d5a185d/attachment.html>
More information about the cfe-dev
mailing list