[cfe-dev] preprocessing and then deducing source location
harshgupta1992 at hotmail.com
Fri Jul 1 06:54:57 PDT 2011
I am trying to infer some information about the location of a declaration in the source file. If i dont provide paths to the system headers, the source locations provided via the SourceLocation class are correct.
However if i provide the paths to the system headers, then the line numbers that are provided seem to be of the preprocessed file. Is it possible to get the SourceLocation of declarations in the original file even after providing the system include paths ? If so how?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev