[PATCH] D45679: [clang-tidy] Add a helper function isModified, that checks whether an expression is modified within a statement.
Jonas Toth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 18 11:40:18 PDT 2018
JonasToth added inline comments.
================
Comment at: clang-tidy/utils/ASTUtils.h:31
+
+enum ExprModificationKind {
+ EMK_NotModified, /// The Expr is neither modified nor escaped.
----------------
Maybe you could add an `Unknown` kind, e.g. if the expression is not found or similar.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45679
More information about the cfe-commits
mailing list