]> granicus.if.org Git - clang/commit
[analyzer] Add ExprMutationAnalyzer
authorShuai Wang <shuaiwang@google.com>
Tue, 11 Sep 2018 21:13:20 +0000 (21:13 +0000)
committerShuai Wang <shuaiwang@google.com>
Tue, 11 Sep 2018 21:13:20 +0000 (21:13 +0000)
commite716a0c90e4dbc72047f8f0903eb41af243473af
treee06db7b5f2ccdeec3f5a66a6db490b6ae983805b
parente878bfeb403c16f635b943660fa341dcba6175f3
[analyzer] Add ExprMutationAnalyzer

Summary:
This is 1/2 of moving ExprMutationAnalyzer from clangtidy to
clang/Analysis.
This diff along simply copies the ExprMutationAnalyzer over with trivial
modifications (e.g. include path, namespace)
2/2 will migrate existing usage of ExprMutationAnalyzer and remove the
original copy inside clangtidy.

Reviewers: george.karpenkov

Subscribers: mgorny, xazax.hun, szepet, a.sidorin, mikhail.ramalho, Szelethus, cfe-commits, JonasToth

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341994 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/Analyses/ExprMutationAnalyzer.h [new file with mode: 0644]
lib/Analysis/CMakeLists.txt
lib/Analysis/ExprMutationAnalyzer.cpp [new file with mode: 0644]
unittests/Analysis/CMakeLists.txt
unittests/Analysis/ExprMutationAnalyzerTest.cpp [new file with mode: 0644]