Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Conversation

@jrose-apple
Copy link
Contributor

Cherry-pick of https://reviews.llvm.org/D68439. Doing this makes MSVC complain that empty(someRange) could refer to either C++17's std::empty or LLVM's llvm::empty, which previously we avoided via SFINAE because std::empty is defined in terms of an empty member rather than begin and end. So, switch callers over to the new method as it is added.

Doing this makes MSVC complain that `empty(someRange)` could refer to
either C++17's std::empty or LLVM's llvm::empty, which previously we
avoided via SFINAE because std::empty is defined in terms of an empty
member rather than begin and end. So, switch callers over to the new
method as it is added.

https://reviews.llvm.org/D68439

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373935 91177308-0d34-0410-b5e6-96231b3b80d8
@jrose-apple jrose-apple requested a review from hyp October 8, 2019 17:54
@jrose-apple jrose-apple merged commit 4dd8558 into apple:apple/stable/20190619 Oct 8, 2019
@jrose-apple jrose-apple deleted the empty-words branch October 8, 2019 21:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant