[PATCH] D26481: Make the Error class constructor protected

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 16:26:47 PST 2016


pcc added inline comments.


================
Comment at: llvm/include/llvm/Support/Error.h:160
+public:
   /// Create a success value. This is equivalent to calling the default
   /// constructor, but should be preferred for readability where possible.
----------------
Might want to update this comment.


https://reviews.llvm.org/D26481





More information about the llvm-commits mailing list