summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2013-09-21 21:13:54 +0000
committerHoward Hinnant <hhinnant@apple.com>2013-09-21 21:13:54 +0000
commit7a828034c6cb65b846b8f7b18d730dd109f65b9e (patch)
treec9988b01ec58f3fb553d01a59d4a48fafcdabe46 /clang/lib/Sema/SemaInit.cpp
parent1da6b4d5c8167fde7a74c0cf9245de088a1f059d (diff)
downloadbcm5719-llvm-7a828034c6cb65b846b8f7b18d730dd109f65b9e.tar.gz
bcm5719-llvm-7a828034c6cb65b846b8f7b18d730dd109f65b9e.zip
Peter Collingbourne: If a pointer is passed as the third argument of the (iterator,
iterator, allocator) constructor with the intention of it being implicitly converted to the allocator type, it is possible for overload resolution to favour the (iterator, iterator, enable_if) constructor. Eliminate this possibility by moving the enable_if to one of the existing arguments and removing the third argument. llvm-svn: 191145
Diffstat (limited to 'clang/lib/Sema/SemaInit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud