ahatanak added inline comments. ================ Comment at: lib/CodeGen/ModuleBuilder.cpp:219 @@ -211,2 +218,3 @@ + } } ---------------- Is it possible to avoid the code duplication if the condition is inverted as shown below?
if (!Diags.hasErrorOccurred()) // call Builder->Release() if (!Diags.hasErrorOccurred()) return; // Clear Builder and reset M http://reviews.llvm.org/D16564 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits