[PATCH] D99344: [Analyzer] Track RValue expressions

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 26 01:40:24 PDT 2021


martong added a comment.

Guys, thanks for the review! :)



================
Comment at: clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:1945
+
+  auto IsZero = [&BVF](const Optional<nonloc::ConcreteInt> &CI) {
+    if (!CI)
----------------
NoQ wrote:
> `SVal::isZeroConstant()` please ^.^
Yeah good catch, I wish I knew this before :)


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