aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-03-27 01:50:55 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-03-27 01:50:55 +0000
commitb6766f07c87ba14aa647a6193c549f6a3f059ce5 (patch)
tree95dd8019f47ea34cf32e8e67006141b8942e534b /clang/lib/CodeGen/CodeGenModule.h
parentaf66980d8ab79ead2f740aba9a93ec41b2f372d1 (diff)
downloadllvm-b6766f07c87ba14aa647a6193c549f6a3f059ce5.zip
llvm-b6766f07c87ba14aa647a6193c549f6a3f059ce5.tar.gz
llvm-b6766f07c87ba14aa647a6193c549f6a3f059ce5.tar.bz2
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions