[PATCH] D45679: [clang-tidy] Add ExprMutationAnalyzer, that analyzes whether an expression is mutated within a statement.
Alexander Kornienko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 28 05:14:37 PDT 2018
alexfh added inline comments.
================
Comment at: unittests/clang-tidy/ExprMutationAnalyzerTest.cpp:582
+
+ AST = tooling::buildASTFromCode("namespace std { class type_info; }"
+ "void f() { int x; typeid(x = 10); }");
----------------
FYI, this test had to be fixed for a ps4 buildbot. See r335799 for details.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45679
More information about the cfe-commits
mailing list