summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-07-13 18:17:46 +0000
committerJustin Lebar <jlebar@google.com>2016-07-13 18:17:46 +0000
commitab4622cb2a30c0bc74452e26ed536dd7ffad91af (patch)
treebdfd9836e5af95cf5b0c4b397964bc9195fa2126 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py
parent50aece03cbf732d67c59ab5125b96064331fd889 (diff)
downloadbcm5719-llvm-ab4622cb2a30c0bc74452e26ed536dd7ffad91af.tar.gz
bcm5719-llvm-ab4622cb2a30c0bc74452e26ed536dd7ffad91af.zip
Fix warnings in FunctionTest.cpp.
Because of the goop involved in the EXPECT_EQ macro, we were getting the following warning expression with side effects has no effect in an unevaluated context because the "I++" was being used inside of a template type: switch (0) case 0: default: if (const ::testing::AssertionResult gtest_ar = (::testing::internal:: EqHelper<(sizeof(::testing::internal::IsNullLiteralHelper(Args[I++])) == 1)>::Compare("Args[I++]", "&A", Args[I++], &A))) ; else ::testing::internal::AssertHelper(::testing::TestPartResult::kNonFatalFailure, "../src/unittests/IR/FunctionTest.cpp", 94, gtest_ar.failure_message()) = ::testing::Message(); llvm-svn: 275291
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud