From: Douglas Gregor Date: Wed, 4 Feb 2009 13:07:56 +0000 (+0000) Subject: An idea for limiting diagnostic output, from David Abrahams X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20bcd55e1465ae0ee149cf4f92aeeb771791ce71;p=clang An idea for limiting diagnostic output, from David Abrahams git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63732 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/TODO.txt b/TODO.txt index 78f965b426..df65be409d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -50,6 +50,15 @@ overloaded-operator-decl.cpp:37:23: error: parameter of overloaded post-incremen X operator++(X&, const float& f); ^ ~~~~~~~~~~~~~~ +//===---------------------------------------------------------------------===// + +For terminal output, we should consider limiting the amount of +diagnostic text we print once the first error has been +encountered. For example, once we have produced an error diagnostic, +we should only continue producing diagnostics until we have produced a +page full of results (say, 50 lines of text). Beyond that, (1) the +remaining errors are likely to be less interesting, and (2) the poor +user has to scroll his terminal to find out where things went wrong.