<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 15, 2017 at 3:52 PM Matthias Braun <<a href="mailto:mbraun@apple.com">mbraun@apple.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> On Jun 15, 2017, at 3:46 PM, Matthias Braun via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>> wrote:<br>
><br>
> Indeed. Unfortunately I am running into problems now as ASSERT_TRUE appears to expand into something ending in "return;" in the error case which only works in void functions. Still looking around what the correct gtest idiom is.<br>
I moved the one problematic ASSERTs into a void function.<br></blockquote><div><br>Not sure how much that'd help though -it means the callers to the function will continue running after the ASSERT fails, right? Unless it's moved up to the top level TEST function.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
- Matthias<br>
<br>
</blockquote></div></div>