aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-02-04 13:07:56 +0000
committerDouglas Gregor <dgregor@apple.com>2009-02-04 13:07:56 +0000
commit20bcd55e1465ae0ee149cf4f92aeeb771791ce71 (patch)
treeb344670a786410a286d6876056df627e74a9eda2
parentfb5484990330377b3b919d8cd7afe0d60022e9e1 (diff)
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
-rw-r--r--TODO.txt9
1 files changed, 9 insertions, 0 deletions
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.