This is an archive of the discontinued LLVM Phabricator instance.

AST: Relax an assertion in constexpr constructor evaluation.
Needs ReviewPublic

Authored by pcc on Dec 3 2018, 7:53 PM.

Details

Reviewers
rsmith
Summary

It's possible for the base type specified in a constructor to be
qualified via sugar, so the existing assertion was too strict. Relax
it so that we only check that the unqualified types are the same.

Diff Detail

Event Timeline

pcc created this revision.Dec 3 2018, 7:53 PM