summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/Warnings.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add an option -fshow-overloads=best|all to limit the number of overloadJeffrey Yasskin2010-06-111-0/+2
| | | | | | | candidates printed. We default to 'all'. At the moment, 'best' prints only the first 4 overloads, but we'll improve that over time. llvm-svn: 105815
* Introduce a limit on the depth of the template instantiation backtraceDouglas Gregor2010-04-201-0/+2
| | | | | | | | | | | | | | | | 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
* add clang -cc1 level support for "-ferror-limit 42"Chris Lattner2010-04-071-0/+4
| | | | llvm-svn: 100687
* Simplify ProcessWarningOptions since it can't failKovarththanan Rajaratnam2010-03-171-3/+1
| | | | llvm-svn: 98721
* switch -Werror/-Wfatal-errors error conditions to use diagnostics insteadChris Lattner2009-12-231-9/+7
| | | | | | of printf, patch by Christian Adaker! llvm-svn: 92019
* implement -W[no-]fatal-errors, patch by Christian Adåker!Chris Lattner2009-12-221-2/+25
| | | | llvm-svn: 91938
* Move warning options into DiagnosticOptions.Daniel Dunbar2009-11-121-8/+7
| | | | llvm-svn: 86968
* Add Diagnostic::Report method for reporting diagnostics without a location.Daniel Dunbar2009-11-101-2/+1
| | | | llvm-svn: 86760
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-7/+7
| | | | llvm-svn: 81346
* PR4715Shantonu Sen2009-08-141-1/+1
| | | | | | | -Wno-error disables WarningsAsErrors instead of mistakenly being treated like -Werror llvm-svn: 78987
* switch Warnings.cpp to use the diagnostics machinery to print diagnostics, ↵Chris Lattner2009-06-231-1/+3
| | | | | | | | | | | | | | 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
* Clean up some unnecessary includes.Eli Friedman2009-05-191-1/+1
| | | | llvm-svn: 72101
* Move clang-cc.h to lib/Frontend/Utils.h, and move the associated .cpp Eli Friedman2009-05-191-0/+106
files to lib/Frontend. llvm-svn: 72099
OpenPOWER on IntegriCloud