diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-02-04 13:07:56 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-02-04 13:07:56 +0000 |
commit | 20bcd55e1465ae0ee149cf4f92aeeb771791ce71 (patch) | |
tree | b344670a786410a286d6876056df627e74a9eda2 | |
parent | fb5484990330377b3b919d8cd7afe0d60022e9e1 (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.txt | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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. |