HomePhabricator

[ASTMatchers] Add isAssignmentOperator matcher

Authored by szepet on Mar 27 2018, 5:11 AM.

Description

[ASTMatchers] Add isAssignmentOperator matcher

Adding a matcher for BinaryOperator and cxxOperatorCallExpr to be able to
decide whether it is any kind of assignment operator or not. This would be
useful since allows us to easily detect assignments via matchers for static
analysis (Tidy, SA) purposes.

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

llvm-svn: 328618

Details

Committed
szepetMar 27 2018, 5:11 AM
Differential Revision
D44893: [ASTMatchers] Add isAssignmentOperator matcher
Parents
rG06cf6a6490bb: [PowerPC] Secure PLT support
Branches
Unknown
Tags
Unknown