<div dir="ltr">I think I found the solution. I believe I need to use SourceManager::getCharacterData (..). </div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">--<div>Himanshu</div></div></div>
<br><div class="gmail_quote">On Mon, Aug 1, 2016 at 11:19 AM, Himanshu <span dir="ltr"><<a href="mailto:himanshu@utexas.edu" target="_blank">himanshu@utexas.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All, <div><br></div><div>When trying to perform rewriter.InsertTextAfter( ... ) for end locations of some function calls, I run into situations where the location is a semi-colon due to macro expansions. Is there a way to check if the location points to a semi-colon? </div><div><br></div><div>Thanks! <br clear="all"><div><div data-smartmail="gmail_signature">--<div>Himanshu</div></div></div>
</div></div>
</blockquote></div><br></div>