[PATCH] D99344: [Analyzer] Track RValue expressions
Gabor Marton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 30 03:12:40 PDT 2021
martong marked an inline comment as done.
martong added inline comments.
================
Comment at: clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:1958-1959
+ EnableNullFPSuppression);
+ } else { // Track only the LHS of divisions.
+ if (LHSV.isZeroConstant())
+ trackExpressionValue(InputNode, BO->getLHS(), report, TKind,
----------------
steakhal wrote:
> Both divisions and modulo operations can flow here.
Ok, I updated the comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99344/new/
https://reviews.llvm.org/D99344
More information about the cfe-commits
mailing list