This is an archive of the discontinued LLVM Phabricator instance.

[include-fixer] only deduplicate symbols after matching symbols with the undefined identifier.
ClosedPublic

Authored by ioeric on Jun 13 2016, 7:51 AM.

Details

Summary

we should only deduplicate symbols after matching symbols with the
undefined identifier. This patch tries to fix the situation where matching
symbols are deleted when it has the same header as a non-matching symbol, which
can prevent finding the correct header even if there is a matched symbol.

Diff Detail

Repository
rL LLVM

Event Timeline

ioeric updated this revision to Diff 60525.Jun 13 2016, 7:51 AM
ioeric retitled this revision from to [include-fixer] only deduplicate symbols after matching symbols with the undefined identifier..
ioeric updated this object.
ioeric added a reviewer: bkramer.
ioeric added a subscriber: cfe-commits.
bkramer accepted this revision.Jun 13 2016, 12:09 PM
bkramer edited edge metadata.

Thanks!

This revision is now accepted and ready to land.Jun 13 2016, 12:09 PM
This revision was automatically updated to reflect the committed changes.