This is an archive of the discontinued LLVM Phabricator instance.

[clang][dataflow] Drop optional model's dependency on libc++ internals.
ClosedPublic

Authored by ymandel on Apr 14 2023, 2:04 PM.

Details

Summary

Adjusts the matchers in the optional model to avoid dependency on internal
implementation details of libc++'s std::optional. In the process, factors out
the code to check the name of these types so that it's shared throughout.

Diff Detail

Event Timeline

ymandel created this revision.Apr 14 2023, 2:04 PM
Herald added a project: Restricted Project. · View Herald Transcript
ymandel requested review of this revision.Apr 14 2023, 2:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 14 2023, 2:04 PM
xazax.hun accepted this revision.Apr 14 2023, 2:28 PM
This revision is now accepted and ready to land.Apr 14 2023, 2:28 PM
gribozavr2 accepted this revision.Apr 17 2023, 10:04 AM

Nice deduplication and compatibility fixes!

This revision was landed with ongoing or failed builds.Apr 17 2023, 11:04 AM
This revision was automatically updated to reflect the committed changes.