[cfe-dev] Obtaining absolute path from SourceLocation

Himanshu via cfe-dev cfe-dev at lists.llvm.org
Mon Oct 17 08:52:31 PDT 2016


Hi all,

Is there a way to force SourceLocation::printToString(SourceManager &)
to print absolute file paths?

I was using this API, and I believe that after the 3.9 update the printed
paths are relative.

Thanks,
--
Himanshu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20161017/c9d1923f/attachment.html>


More information about the cfe-dev mailing list