[cfe-dev] End location of DeclStmt

Pardis Pashakhanloo via cfe-dev cfe-dev at lists.llvm.org
Sat Dec 1 17:50:56 PST 2018


Hi all,

My goal is to remove a DeclStmt from the beginning to end (including the
semicolon) using the Rewriter.
However, calling getEnd() on a DeclStmt does not give the correct location.
Is there a way to get the end location properly?

Best,
Pardis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20181201/a59db98f/attachment.html>


More information about the cfe-dev mailing list