stop attempting to RewriteMacros within comments

Sam Parker S.Parker3 at lboro.ac.uk
Mon Oct 21 02:28:26 PDT 2013


Hi,

First commit so sorry if I've done something wrong. The proposed patch stops the RewriteMacrosAction from trying to rewrite occurrences that are within comments, since this was producing illegal code such as:

/* /* Macro */ */

Thanks,
Sam 


Sam Parker
Research Student
Electronic Systems Design Group
Loughborough University
UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RewriteMacros.diff
Type: text/x-patch
Size: 752 bytes
Desc: RewriteMacros.diff
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131021/641f6df6/attachment.bin>


More information about the cfe-commits mailing list