[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 12:59:27 PDT 2018
JonasToth added a comment.
Another note: https://github.com/llvm-mirror/clang-tools-extra/blob/master/clang-tidy/utils/DeclRefExprUtils.cpp
There is a `isOnlyUsedAsConst` with a slick implementation, using a set difference.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45679
More information about the cfe-commits
mailing list