This is an archive of the discontinued LLVM Phabricator instance.

Fix assertion when analyzing a for-loop with no condition expression
AbandonedPublic

Authored by li.zhe.hua on Jun 29 2022, 12:47 PM.

Details

Reviewers
ymandel
Summary

For loops are allowed to have an empty conditional expression; we
should not assert that it must have one.

Diff Detail

Event Timeline

li.zhe.hua created this revision.Jun 29 2022, 12:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2022, 12:47 PM
li.zhe.hua requested review of this revision.Jun 29 2022, 12:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2022, 12:47 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Looks like you and Stanislav had the same idea?
https://reviews.llvm.org/D128833

li.zhe.hua abandoned this revision.Jun 29 2022, 1:02 PM

Looks like you and Stanislav had the same idea?
https://reviews.llvm.org/D128833

Seems like it.