search for: 90907fd9

Displaying 2 results from an estimated 2 matches for "90907fd9".

2011 Jul 27
0
[LLVMdev] Proposal for better assertions in LLVM
...;ll leave it to Chris and others to make the call, just wanted to make sure a slightly different implementation was on the table in case it does go in... -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110727/90907fd9/attachment.html>
2011 Jul 26
5
[LLVMdev] Proposal for better assertions in LLVM
The assertions in LLVM would be a lot more useful if they could print out not only the source code of the expression that failed, but also print the values of the various arguments. To that end, I have an idea for an improved assert macro which would use raw_ostream. It would look something like this: ASSERT_STRM(Ty == STy, "Expected " << Ty << " but got "