[PATCH] D26981: Limit maximum number of errors to 1000.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 22 11:21:04 PST 2016


davide added inline comments.


================
Comment at: ELF/Driver.cpp:45-46
                raw_ostream &Error) {
   HasError = false;
+  ErrorCount = 0;
   ErrorOS = &Error;
----------------
Any reason to initialize it here instead of inside `struct Configuration` ?


https://reviews.llvm.org/D26981





More information about the llvm-commits mailing list