swift-module-digester: exclude fixed binary order when checking API stability.

This commit is contained in:
Xi Ge
2018-10-08 13:59:30 -07:00
parent 847aa9b327
commit c8c7fb39b0
5 changed files with 9 additions and 10 deletions

View File

@@ -1936,6 +1936,8 @@ class RenameDetectorForMemberDiff : public MatchedNodeListener {
public:
RenameDetectorForMemberDiff(): LeftDetector(true), RightDetector(false) {}
void foundMatch(NodePtr Left, NodePtr Right, NodeMatchReason Reason) override {
if (!Left || !Right)
return;
detectRename(Left, Right);
LeftDetector.detect(Left, Right);
RightDetector.detect(Right, Left);