[PATCH] D45679: [clang-tidy] Add a helper function isModified, that checks whether an expression is modified within a statement.

Shuai Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 17 10:38:23 PDT 2018


shuaiwang added a comment.

In https://reviews.llvm.org/D45679#1069754, @Eugene.Zelenko wrote:

> In https://reviews.llvm.org/D45679#1069638, @JonasToth wrote:
>
> > *hust* /llvm/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp
> >
> > I will check this one first, before we get crazy and implemented something twice.
>
>
> But this is IR-level analysis. Clang has own include/clang/Analysis.


I investigated a bit and it seems to be deadcode :(
It was once used by IdempotentOperationChecker which got deleted 4 years ago: http://llvm.org/viewvc/llvm-project?view=revision&revision=198476
I'll take a look and see if I can learn something from it anyway.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D45679





More information about the cfe-commits mailing list