]> granicus.if.org Git - clang/commit
Implements CWG 1601 in [over.ics.rank/4.2]
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 6 Oct 2019 18:50:40 +0000 (18:50 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 6 Oct 2019 18:50:40 +0000 (18:50 +0000)
commit1c3c183da3437d9580a66c719a1cb54522d530ee
treef8dd946dfae80a58fb17727fbbf311c35f1be2c3
parentc059e0ac05e9795b065bbbe18159f52fdf1f7086
Implements CWG 1601 in [over.ics.rank/4.2]

Summary:
The overload resolution for enums with a fixed underlying type has changed in the C++14 standard. This patch implements the new rule.

Patch by Mark de Wever!

Reviewers: rsmith

Reviewed By: rsmith

Subscribers: cfe-commits

Tags: #clang

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373866 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
test/CXX/drs/dr16xx.cpp
test/CXX/drs/dr6xx.cpp
www/cxx_dr_status.html