|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | we will print with each error that occurs during template
instantiation. When the backtrace is longer than that, we will print
N/2 of the innermost backtrace entries and N/2 of the outermost
backtrace entries, then skip the middle entries with a note such as:
  note: suppressed 2 template instantiation contexts; use
  -ftemplate-backtrace-limit=N to change the number of template
  instantiation entries shown
This should eliminate some excessively long backtraces that aren't
providing any value.
llvm-svn: 101882 | 
| | 
| 
| 
| | llvm-svn: 100687 | 
| | 
| 
| 
| | llvm-svn: 98721 | 
| | 
| 
| 
| 
| 
| | of printf, patch by Christian Adaker!
llvm-svn: 92019 | 
| | 
| 
| 
| | llvm-svn: 91938 | 
| | 
| 
| 
| | llvm-svn: 86968 | 
| | 
| 
| 
| | llvm-svn: 86760 | 
| | 
| 
| 
| | llvm-svn: 81346 | 
| | 
| 
| 
| 
| 
| 
| | -Wno-error disables WarningsAsErrors instead of
mistakenly being treated like -Werror
llvm-svn: 78987 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | not *fprintf*!
Among other things, this makes the warning about unknown warning options mappable.
For example:
$ clang t.c -Werror -Wfoo
error: unknown warning option '-Wfoo' [-Wunknown-warning-option]
For another thing, they are properly color coded now too :)
llvm-svn: 73936 | 
| | 
| 
| 
| | llvm-svn: 72101 | 
|  | files to lib/Frontend.
llvm-svn: 72099 |