[PATCH] D26532: Bitcode: Clean up error handling for certain bitcode query functions.

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 10 22:34:45 PST 2016


mehdi_amini accepted this revision.
mehdi_amini added a comment.
This revision is now accepted and ready to land.

LGTM.
Thanks, I'm always in favor of free function when it makes sense!



================
Comment at: llvm/lib/Bitcode/Reader/BitcodeReader.cpp:615
 public:
-  BitcodeReader(MemoryBufferRef Buffer, LLVMContext &Context);
+  BitcodeReader(BitstreamCursor Stream, LLVMContext &Context);
 
----------------
I feel this could be pulled out as a first step in another patch.


https://reviews.llvm.org/D26532





More information about the llvm-commits mailing list