[cfe-dev] How to access the CGDebug class for lineNumbers and columnNumber
Phillip Power
phillipp at xsmail.com
Tue Mar 29 08:28:12 PDT 2011
I am experimenting with CLANG with the idea of building an analyzer. I
have started with the clang/examples/clang-interpreter and started
adding some calls to my code in the Execute(). All looks good, however
it is important that I can output the fileName:lineNumber:ColumnNumber
with the analysis output, but I cannot see how to do this. I have
checked over as many forums as I can find.
As far as I can tell the CGDebugInfo class should be used to store the
raw information as metatags. However, I cannot find how to access this
class. Can anyone point me in the right direction.
Thanks,
Phil
--
Phillip Power
phillipp at xsmail.com
More information about the cfe-dev
mailing list