[ASTMatchers] Add hasSideEffect() matcher.
authorClement Courbet <courbet@google.com>
Thu, 22 Nov 2018 14:00:56 +0000 (14:00 +0000)
committerClement Courbet <courbet@google.com>
Thu, 22 Nov 2018 14:00:56 +0000 (14:00 +0000)
commitc022c51f89cd6bc5df9d06ea3e4dacf225429347
tree00fd7d7e25a71c3857b8fc9c8ffb5a5836102360
parent509f7d7c30ab76a046382cea731537ab061b889d
[ASTMatchers] Add hasSideEffect() matcher.

Summary: Exposes Expr::HasSideEffects.

Reviewers: aaron.ballman

Subscribers: cfe-commits

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

llvm-svn: 347462
clang/docs/LibASTMatchersReference.html
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/lib/ASTMatchers/Dynamic/Registry.cpp
clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp