Skip to content
Commit 7dca3127 authored by Eric Fiselier's avatar Eric Fiselier
Browse files

Don't require relops on variant alternatives to all return the same

type.

Libc++ correctly asserts that a set of visitors for a variant all
return the same type. However, we use the visitation machinary to
perform relational operations. This causes a static assertion when
some of the alternatives relops return a UDT which is implicitly
convertible to bool instead of 'bool' exactly.

llvm-svn: 342560
parent 6b8d7542
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment