Hello,

I’m new to Clang, and I’d like to start off by saying that it's been a real 
treat to work with so far.

I’ve been putting the Rewriter through its paces and found a bug: RemoveText 
does not use the correct starting offset when IncludeInsertsAtBeginOfRange=true 
in the RewriteOptions and some text has been inserted at the beginning of the 
range.

I’ve attached a patch. Apologies if it isn’t in the correct format, as this is 
my first one.

Thanks again for all your great work!

-Alex

Attachment: 0001-Rewriter-Fix-RemoveText-when-IncludeInsertsAtBeginOf.patch
Description: Binary data


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to