diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-08-18 16:22:54 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-08-18 16:22:54 +0000 |
commit | b28eb332d9ea8b0fdfdce49909c4ea9e4b57a35f (patch) | |
tree | 69faf7a0ada12daf6992bafb05d29d2086dd99c6 /clang/unittests/libclang/LibclangTest.cpp | |
parent | 615b820af6338c0cd95acd3ff686c9f7901f109d (diff) | |
download | llvm-b28eb332d9ea8b0fdfdce49909c4ea9e4b57a35f.zip llvm-b28eb332d9ea8b0fdfdce49909c4ea9e4b57a35f.tar.gz llvm-b28eb332d9ea8b0fdfdce49909c4ea9e4b57a35f.tar.bz2 |
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.
llvm-svn: 279084
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions