HomePhabricator

[libcxx/variant] Correctly propagate return type of the visitor.

Authored by mpark on Aug 17 2020, 10:53 AM.

Description

[libcxx/variant] Correctly propagate return type of the visitor.

The tests for it were missing so I've added them.

Reviewed By: #libc, EricWF

Differential Revision: https://reviews.llvm.org/D86006

Details

Committed
mparkAug 17 2020, 10:53 AM
Reviewer
Restricted Project
Differential Revision
D86006: [libcxx/variant] Correctly propagate return type of the visitor.
Parents
rGdf4756ec6cd6: [DSE,MemorySSA] Check for underlying objects first.
Branches
Unknown
Tags
Unknown