[PATCH] D20844: FixIt: correctly set DeclSpec's range end for a type name annotation.

John McCall via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 1 08:48:33 PDT 2016


rjmccall added a comment.

Hmm.  No, I think the original code is correct here — RangeEnd is a token range, and those are generally inclusive rather than exclusive.  The fix-it needs to be inserting at the end of the token.


http://reviews.llvm.org/D20844





More information about the cfe-commits mailing list