"git@repo.hca.bsc.es:lalbano/llvm-bpevl.git" did not exist on "7851db75d99aed348f4fa99952a7dc73eaa5e9bd"
[clang-tidy] SimplifyBoolenExpr doesn't add parens if unary negotiation is of ExprWithCleanups type
bool foo(A &S) { if (S != (A)S) return false; return true; } is fixed into (w/o this patch) ... return !S != (A)S; // negotiation affects first operand only } instead of (with this patch) ... return S == (A)S; // note == instead of != } Differential Revision: https://reviews.llvm.org/D47122 llvm-svn: 333003
Loading
Please register or sign in to comment