This is an archive of the discontinued LLVM Phabricator instance.

[clang][dataflow][NFC] Expand comments on losing values in optional checker.
ClosedPublic

Authored by mboehme on Jun 7 2023, 6:24 AM.

Details

Summary

While working on the ongoing migration to strict handling of value
categories (see https://discourse.llvm.org/t/70086), I ran into issues related
to losing the value associated with an optional.

This issue is hinted at in the existing comments, but the issue didn't become
sufficiently clear to me from those, so I thought it would be worth capturing
more details, along with ideas for how this issue might be fixed.

Diff Detail

Event Timeline

mboehme created this revision.Jun 7 2023, 6:24 AM
Herald added a project: Restricted Project. · View Herald Transcript
mboehme requested review of this revision.Jun 7 2023, 6:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 7 2023, 6:24 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
ymandel accepted this revision.Jun 7 2023, 1:19 PM

Nice! Thanks

This revision is now accepted and ready to land.Jun 7 2023, 1:19 PM

libcxx failures look unrelated (this is a comment-only change that doesn't touch libcxx)

This revision was landed with ongoing or failed builds.Jun 12 2023, 1:46 AM
This revision was automatically updated to reflect the committed changes.