<div dir="ltr">Hi All, <div><br></div><div>I have been using SourceLocation::printToString(SourceManager) to get the string containing the full-path of a source location in Clang. </div><div><br></div><div>However, the API is suddenly behaving inconsistently: when ran with some files it prints their absolute path:line:col, for others it only prints the filename (basename):line:col. </div><div><br></div><div>Could someone please let me know how to make sure that I always get the absolute path? </div><div><br></div><div>Thanks, <br><div><div class="gmail_signature">--<div>Himanshu</div></div></div>
</div></div>