HomePhabricator

Add a new AST matcher 'optionally'.

Authored by air20 on Jan 8 2020, 11:09 AM.

Description

Add a new AST matcher 'optionally'.

This matcher matches any node and at the same time executes all its
inner matchers to produce any possbile result bindings.

This is useful when a user wants certain supplementary information
that's not always present along with the main match result.

Details

Committed
aaron.ballmanJan 8 2020, 11:10 AM
Parents
rGb675a7628ce6: Merge memtag instructions with adjacent stack slots.
Branches
Unknown
Tags
Unknown