[PATCH] D24829: [clang-format] support header deletion in cleanupAroundReplacemnts.
Eric Liu via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 22 08:19:16 PDT 2016
ioeric created this revision.
ioeric added a reviewer: djasper.
ioeric added subscribers: klimek, cfe-commits.
- If a replacement has offset UINT_MAX, length 0, and a replacement text
that is an #include directive, this will insert the #include into the
correct block in the \p Code.
- If a replacement has offset UINT_MAX, length 1, and a replacement text
that is the name of the header to be removed, the header will be removed
from \p Code if it exists.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7646 bytes
Desc: not available
More information about the cfe-commits