[PATCH] D124807: [clang][dataflow] Avoid assert for invalid cast to BoolValue

Eric Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 3 13:49:20 PDT 2022


li.zhe.hua updated this revision to Diff 426823.
li.zhe.hua added a comment.

Switch from implementing in the trasfer function to skipping `ExprWithCleanups`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124807

Files:
  clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
  clang/include/clang/Analysis/FlowSensitive/Transfer.h
  clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
  clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
  clang/lib/Analysis/FlowSensitive/Transfer.cpp
  clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
  clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124807.426823.patch
Type: text/x-patch
Size: 7210 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220503/9fd8b932/attachment-0001.bin>


More information about the cfe-commits mailing list