commit | e32f5ce95db41210ac609b06f51c572faae531c2 | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Thu Aug 18 16:22:54 2016 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Thu Aug 18 16:22:54 2016 +0000 |
tree | b62abefe32adcc8209a56ab280bbc1c49eaea193 | |
parent | 2e26f159dae46059bc65e6af6f60a904ba97f1f0 [diff] |
ADT: Remove references in has_rbegin for reverse() As a follow-up to r278991, add some tests that check that decltype(reverse(R).begin()) == decltype(R.rbegin()), and get them passing by adding std::remove_reference to has_rbegin. I'm using static_assert instead of EXPECT_TRUE (and updated the other has_rbegin check from r278991 in the same way) since I figure that's more helpful. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279084 91177308-0d34-0410-b5e6-96231b3b80d8