[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 08:08:54 PDT 2022
li.zhe.hua updated this revision to Diff 426711.
li.zhe.hua added a comment.
Update test to treat the PointerToBool conversion as an opaque boolean expression, and test it as such.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124807/new/
https://reviews.llvm.org/D124807
Files:
clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124807.426711.patch
Type: text/x-patch
Size: 4162 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220503/a91f0f68/attachment.bin>
More information about the cfe-commits
mailing list