This is an archive of the discontinued LLVM Phabricator instance.

[clang][dataflow] Extend flow condition in the body of a do/while loop
ClosedPublic

Authored by sgatev on Jun 20 2022, 4:10 AM.

Details

Summary

Extend flow condition in the body of a do/while loop.

Diff Detail

Event Timeline

sgatev created this revision.Jun 20 2022, 4:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 20 2022, 4:10 AM
sgatev requested review of this revision.Jun 20 2022, 4:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 20 2022, 4:10 AM
gribozavr2 accepted this revision.Jun 20 2022, 8:01 AM
gribozavr2 added inline comments.
clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
3700

Can we infer that after the loop bar is false?

This revision is now accepted and ready to land.Jun 20 2022, 8:01 AM
sgatev updated this revision to Diff 438427.Jun 20 2022, 9:17 AM

Address comments.

sgatev marked an inline comment as done.Jun 20 2022, 9:18 AM
sgatev added inline comments.
clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
3700

Yes!

xazax.hun accepted this revision.Jun 20 2022, 9:32 AM
gribozavr2 accepted this revision.Jun 20 2022, 10:15 AM
This revision was landed with ongoing or failed builds.Jun 20 2022, 10:31 AM
This revision was automatically updated to reflect the committed changes.
sgatev marked an inline comment as done.