llvm-project/clang/lib/Frontend
Chandler Carruth b6766f07c8 Add an option to suppress include stack printing on note diagnostics.
These stacks are often less important than those on primary diagnostics.

As the number of notes grows, this becomes increasingly important. The
include stack printing is clever and doesn't print stacks for adjacent
diagnostics from the same file, but when a note is in between a sequence
of errors in a header file, and the notes all refer to some other file,
we end up getting a worst-case ping-pong of include stacks that take up
a great deal of vertical space.

Still, for now, the default behavior isn't changed. We can evaluate user
feedback with the flag.

Patch by Richard Trieu, a couple of style tweaks from me.

llvm-svn: 128371
2011-03-27 01:50:55 +00:00
..
ASTConsumers.cpp Remove the AST printer (-ast-print-xml), which is too incomplete and 2011-03-07 01:03:30 +00:00
ASTMerge.cpp Introduce the notion of a "minimal" import of ASTs, to better support LLDB. 2011-01-18 03:11:38 +00:00
ASTUnit.cpp switch a few Driver APIs to use llvm::ArrayRef, cleaning up code. 2011-03-23 04:04:01 +00:00
BoostConAction.cpp Another chunk of the new RecursiveASTVisitor implementation: switch the return 2010-06-10 10:31:57 +00:00
CMakeLists.txt Remove the AST printer (-ast-print-xml), which is too incomplete and 2011-03-07 01:03:30 +00:00
CacheTokens.cpp Currently we can only remap a file by creating a MemoryBuffer and replacing the file contents with it. 2011-03-05 01:03:53 +00:00
CompilerInstance.cpp Frontend: Change CC_PRINT_HEADERS to not print header depth markers, these don't 2011-03-21 19:37:38 +00:00
CompilerInvocation.cpp Add an option to suppress include stack printing on note diagnostics. 2011-03-27 01:50:55 +00:00
DependencyFile.cpp fix clang -MM output to escape spaces in filenames. This seems to be 2011-02-17 02:14:49 +00:00
DiagChecker.cpp Another step in the process of making the parser depend on Sema: 2010-08-20 18:27:03 +00:00
FrontendAction.cpp Improve crash recovery cleanup to recovery CompilerInstances during crash recovery. This was a huge resource "root" during crashes. 2011-03-21 18:40:17 +00:00
FrontendActions.cpp Remove the AST printer (-ast-print-xml), which is too incomplete and 2011-03-07 01:03:30 +00:00
FrontendOptions.cpp Driver, Frontend: add CUDA language support 2010-12-01 03:15:20 +00:00
HeaderIncludeGen.cpp Frontend: Change CC_PRINT_HEADERS to not print header depth markers, these don't 2011-03-21 19:37:38 +00:00
InitHeaderSearch.cpp lib/Frontend/InitHeaderSearch.cpp: Introduce AddMinGW64CXXPaths(Base) for x86_64-w64-mingw32. 2011-03-15 02:32:36 +00:00
InitPreprocessor.cpp Preprocessor: Don't define __STDC__ in -traditional-cpp mode. 2011-03-19 01:04:12 +00:00
LangStandards.cpp rename llvm::llvm_report_error -> llvm::report_fatal_error 2010-04-07 22:58:06 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
MultiplexConsumer.cpp Add -add-plugin flag, which runs plugins in addition to codegen. 2011-01-25 20:34:14 +00:00
PrintPreprocessedOutput.cpp Rename tok::eom to tok::eod. 2011-02-28 02:37:51 +00:00
TextDiagnosticBuffer.cpp Since multiple diagnostics can share one diagnostic client, have the client keeping track 2010-11-18 20:06:46 +00:00
TextDiagnosticPrinter.cpp Add an option to suppress include stack printing on note diagnostics. 2011-03-27 01:50:55 +00:00
VerifyDiagnosticsClient.cpp Switch the VerifyDiagnosticsClient to use PresumedLocs now that they 2011-02-23 00:47:48 +00:00
Warnings.cpp Add an option -fshow-overloads=best|all to limit the number of overload 2010-06-11 05:57:47 +00:00