Fix warnings in ImmutableSetTest and SequenceTest.
authorJustin Lebar <jlebar@google.com>
Sun, 17 Jul 2016 18:10:30 +0000 (18:10 +0000)
committerJustin Lebar <jlebar@google.com>
Sun, 17 Jul 2016 18:10:30 +0000 (18:10 +0000)
commitb17269da754bfe8fba0e9342a4460a893f7c1259
tree8b5ddd513bce119810f1056649aa638c8a00c141
parent69c778c084faafe8ddbc7ece947762241594a92f
Fix warnings in ImmutableSetTest and SequenceTest.

Doing "I++" inside of an EXPECT_* triggers

  warning: expression with side effects has no effect in an unevaluated context

because EXPECT_* partially expands to

  EqHelper<(sizeof(::testing::internal::IsNullLiteralHelper(i++)) == 1)>

which is an unevaluated context.

llvm-svn: 275717
llvm/unittests/ADT/ImmutableSetTest.cpp
llvm/unittests/ADT/SequenceTest.cpp