[PATCH] D99344: [Analyzer] Track RValue expressions

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


martong updated this revision to Diff 333508.
martong marked 5 inline comments as done.
martong added a comment.

- Use isZeroConstant()
- Make trackRValueExpression private (static function)
- Fix clang-tidy report: auto *BO  --->  const auto *BO


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99344/new/

https://reviews.llvm.org/D99344

Files:
  clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  clang/test/Analysis/division-by-zero-track-zero.c
  clang/test/Analysis/division-by-zero-track-zero.cpp
  clang/test/Analysis/nullptr.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99344.333508.patch
Type: text/x-patch
Size: 8458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210326/5a5fc3a6/attachment-0001.bin>


More information about the cfe-commits mailing list