Refactor the previous version method of marking each apple-clang version as UNSUPPORTED and just XFAIL'ing the libcpp-no-deduction-guides instead. This brings this test inline with the same style as iter_alloc_deduction.pass.cpp
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Is the test expected to pass with clang-902? If not, then it'd be best to use "apple-clang-9" instead of "apple-clang-9.0".
That means that most likely it should be apple-clang-8 instead of 8.0. But on the second thought it might be better to keep .fail.cpp and .pass.cpp more in sync. I think
// XFAIL: libcpp-no-deduction-guides
is better than listing all unsupported clang versions (see r325205). I didn't test it but if it works, I prefer this approach.
I think the correct fix is something like this: https://github.com/llvm-mirror/libcxx/commit/6878e852d1d26cca0abee3013822311cd894ca3e
I copied what Eric did here: https://github.com/llvm-mirror/libcxx/commit/6878e852d1d26cca0abee3013822311cd894ca3e. I have tested this on our bots and the fix works fine.
Eric,
Any chance you could have one more look at this and let me know if the
patch is acceptable?
Thanks,
Mike