aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
diff options
context:
space:
mode:
authorKonstantin Varlamov <varconst@apple.com>2021-11-09 09:21:02 -0800
committerKonstantin Varlamov <varconst@apple.com>2021-11-09 09:32:24 -0800
commit68072a71662a7955b65a761b8e36a5ef6d38186a (patch)
treeeca5d1aeb6861d1273870d34592ae4b61ead6fa4 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
parent8619212b94994df7d5bedda2d6dfca5a439b3eaa (diff)
downloadllvm-68072a71662a7955b65a761b8e36a5ef6d38186a.zip
llvm-68072a71662a7955b65a761b8e36a5ef6d38186a.tar.gz
llvm-68072a71662a7955b65a761b8e36a5ef6d38186a.tar.bz2
[libc++] P0433R2: test that deduction guides are properly SFINAEd away.
Deduction guides for containers should not participate in overload resolution when called with certain incorrect types (e.g. when called with a template argument in place of an `InputIterator` that doesn't qualify as an input iterator). Similarly, class template argument deduction should not select `unique_ptr` constructors that take a a pointer. The tests try out every possible incorrect parameter (but never more than one incorrect parameter in the same invocation). Also add deduction guides to the synopsis for associative and unordered containers (this was accidentally omitted from [D112510](https://reviews.llvm.org/D112510)). Differential Revision: https://reviews.llvm.org/D112904
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions