Page MenuHomePhabricator

[ASTMatchers] Added BinaryOperator hasOperands matcher
ClosedPublic

Authored by njames93 on May 15 2020, 6:04 PM.

Details

Summary

Adds a matcher called hasOperands for BinaryOperator's when you need to match both sides but the order isn't important, usually on commutative operators.

Diff Detail

Event Timeline

njames93 created this revision.May 15 2020, 6:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 15 2020, 6:04 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.May 17 2020, 8:16 AM
This revision was automatically updated to reflect the committed changes.