]> granicus.if.org Git - clang/commitdiff
An idea for limiting diagnostic output, from David Abrahams
authorDouglas Gregor <dgregor@apple.com>
Wed, 4 Feb 2009 13:07:56 +0000 (13:07 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 4 Feb 2009 13:07:56 +0000 (13:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63732 91177308-0d34-0410-b5e6-96231b3b80d8

TODO.txt

index 78f965b426aa479e73a97b11dad40f480636e41d..df65be409daff2f05e00c4079f802167d15b28d4 100644 (file)
--- 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.