This is an archive of the discontinued LLVM Phabricator instance.

[ASTMatchers] Fix bug in `hasUnaryOperand`
ClosedPublic

Authored by ymandel on Jun 16 2021, 8:21 AM.

Details

Summary

Currently, hasUnaryOperand fails for the overloaded operator*. This patch fixes the bug and
adds tests for this case.

Diff Detail

Event Timeline

ymandel requested review of this revision.Jun 16 2021, 8:21 AM
ymandel created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJun 16 2021, 8:21 AM
gribozavr2 accepted this revision.Jun 16 2021, 11:25 AM
This revision is now accepted and ready to land.Jun 16 2021, 11:25 AM
This revision was landed with ongoing or failed builds.Jun 16 2021, 1:19 PM
This revision was automatically updated to reflect the committed changes.