[PATCH] D58609: [clang-tidy] bugprone-string-integer-assignment: Reduce false positives.
Jonas Toth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 27 04:33:54 PST 2019
JonasToth added inline comments.
================
Comment at: clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp:54
+ (RHS->EvaluateAsInt(RHSVal, Ctx, Expr::SE_AllowSideEffects) ||
+ LHS->EvaluateAsInt(RHSVal, Ctx, Expr::SE_AllowSideEffects))) {
+ return true;
----------------
unnecessary braces.
Repository:
rCTE Clang Tools Extra
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58609/new/
https://reviews.llvm.org/D58609
More information about the cfe-commits
mailing list