HomePhabricator

[ASTMatchers] Add binaryOperation matcher

Authored by stephenkelly on Jan 4 2021, 5:33 PM.

Description

[ASTMatchers] Add binaryOperation matcher

This is a simple utility which allows matching on binaryOperator and
cxxOperatorCallExpr. It can also be extended to support
cxxRewrittenBinaryOperator.

Add generic support for MapAnyOfMatchers to auto-marshalling functions.

Differential Revision: https://reviews.llvm.org/D94129

Details

Committed
stephenkellyJan 16 2021, 5:44 AM
Differential Revision
D94129: [ASTMatchers] Add binaryOperation matcher
Parents
rG4f155567317d: [LegalizeDAG] Handle NeedInvert when expanding BR_CC
Branches
Unknown
Tags
Unknown