[cfe-dev] Checking if a SourceLocation points to a semi-colon

Himanshu via cfe-dev cfe-dev at lists.llvm.org
Mon Aug 1 11:19:45 PDT 2016

Hi All,

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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160801/b3cdf306/attachment.html>

More information about the cfe-dev mailing list