aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/libclang/LibclangTest.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-08-18 16:22:54 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-08-18 16:22:54 +0000
commitb28eb332d9ea8b0fdfdce49909c4ea9e4b57a35f (patch)
tree69faf7a0ada12daf6992bafb05d29d2086dd99c6 /clang/unittests/libclang/LibclangTest.cpp
parent615b820af6338c0cd95acd3ff686c9f7901f109d (diff)
downloadllvm-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