[cfe-dev] Get the location of a previous token in Clang
james long via cfe-dev
cfe-dev at lists.llvm.org
Mon Oct 26 12:30:36 PDT 2015
Dear Klimek ,
Could you please help me with the following question?
I am new to Clang and 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/20151026/4e8520c4/attachment.html>
More information about the cfe-dev
mailing list