Access to source code from an analyser

Diego Novillo dnovillo@google.com
Thu Feb 2 02:25:00 GMT 2012


On 12-01-19 05:06 , Alberto Lozano Alelu wrote:

> I need to have source text

For that, you will need to read the file or get the line from libcpp's 
buffers.  Accessing libcpp's buffer will not be trivial, since they are 
in libcpp's private structures.  You're better off opening the file and 
reading from that line/col.


Diego.



More information about the Gcc mailing list