[PATCH] D45491: [analyzer] Do not invalidate the `this` pointer.

Henry Wong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 11 08:59:53 PDT 2018


MTC updated this revision to Diff 142026.
MTC marked 2 inline comments as done.
MTC added a comment.

- Move the `CXXThisRegion`'s check to `LoopWidening.cpp`
- Use `isa<CXXThisRegion>(R)` instead of `CXXThisRegion::classof(R)`.


Repository:
  rC Clang

https://reviews.llvm.org/D45491

Files:
  lib/StaticAnalyzer/Core/LoopWidening.cpp
  lib/StaticAnalyzer/Core/RegionStore.cpp
  test/Analysis/this-pointer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45491.142026.patch
Type: text/x-patch
Size: 3529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180411/5ba912ad/attachment-0001.bin>


More information about the cfe-commits mailing list