[PATCH] D54830: [ASTMatchers] Add hasSideEffect() matcher.

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 22 05:20:11 PST 2018


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM aside from a minor commenting request.



================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:4121
 
+/// \brief Matches expressions with potential side effects.
+///
----------------
side effects. -> side effects other than producing a value, such as a calling a function, throwing an exception, or reading a volatile variable.


Repository:
  rC Clang

https://reviews.llvm.org/D54830





More information about the cfe-commits mailing list