Hi,

Attached are two patches, which add a fixit to remove an unused label.

1) Add a utility function to the Lexer, which makes it easier to find the ':' after the label as well as the new line and trailing spaces (It is a generalized version of trans::findLocationAfterSemi from ArcMigrate, which will be changed to use the Lexer utility).

Attachment: unusedLabel_LexSupport.diff
Description: Binary data


2) Generate the fixit.

Attachment: unusedLabel_fixit.diff
Description: Binary data


Thanks,
Anna.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to