search for: assert_no_error

Displaying 2 results from an estimated 2 matches for "assert_no_error".

2012 May 18
0
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
...; > +#include "llvm/Support/raw_ostream.h" > +#include "llvm/Support/FileOutputBuffer.h" > +#include "llvm/ADT/OwningPtr.h" > + > +#include "gtest/gtest.h" > + > +using namespace llvm; > +using namespace llvm::sys; > + > +#define ASSERT_NO_ERROR(x) \ > + if (error_code ASSERT_NO_ERROR_ec = x) { \ > + errs() << #x ": did not return errc::success.\n" \ > + << "error number: " << ASSERT_NO_ERROR_ec.value() << "\n" \ > + << "error message: &q...
2012 May 17
3
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
I now have an implementation of FileOutputBuffer (OutputBuffer was already taken). The patch supports the functionality listed below and I've tested that it works for lld. -------------- next part -------------- A non-text attachment was scrubbed... Name: FileOutputBuffer.patch Type: application/octet-stream Size: 25308 bytes Desc: not available URL: