[all-commits] [llvm/llvm-project] ce5fec: Assignment and Inc/Dec operators wouldn't register...
Tridacnid via All-commits
all-commits at lists.llvm.org
Tue Jun 9 11:46:52 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ce5fecb7d0a12c27763afe3f89d1d7e8a1893dc0
https://github.com/llvm/llvm-project/commit/ce5fecb7d0a12c27763afe3f89d1d7e8a1893dc0
Author: Tridacnid <tridacnid at gmail.com>
Date: 2020-06-09 (Tue, 09 Jun 2020)
Changed paths:
M clang-tools-extra/test/clang-tidy/checkers/bugprone-infinite-loop.cpp
M clang/lib/Analysis/ExprMutationAnalyzer.cpp
M clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
Log Message:
-----------
Assignment and Inc/Dec operators wouldn't register as a mutation when Implicit Paren Casts were present
Add ignoringParenImpCasts to assignment and inc/dec mutation checks in ExprMutationAnalyzer to fix clang-tidy bug PR45490.
https://bugs.llvm.org/show_bug.cgi?id=45490
Reviewed By: njames93, aaron.ballman, gribozavr2
Differential Revision: https://reviews.llvm.org/D79912
More information about the All-commits
mailing list