diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-05-04 17:13:42 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-05-04 17:13:42 +0000 |
| commit | cd121fb0137d628527f40d8e980bc61b81119f66 (patch) | |
| tree | 519a0ce3fceab69f324922b1420ea081b7b5e2fe /clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | |
| parent | a5c0cc329e44601b1318f9223af1e60a45196dc8 (diff) | |
| download | bcm5719-llvm-cd121fb0137d628527f40d8e980bc61b81119f66.tar.gz bcm5719-llvm-cd121fb0137d628527f40d8e980bc61b81119f66.zip | |
Introduce a limit on the depth of the macro instantiation backtrace
printed in a diagnostic, similar to the limit we already have on the
depth of the template instantiation backtrace. The macro instantiation
backtrace is limited to 10 "instantiated from:" diagnostics; when it's
longer than that, we'll show the first half, then say how many were
suppressed, then show the second half. The limit can be changed with
-fmacro-instantiation-limit=N, and turned off with N=0.
This eliminates a lot of note spew with libraries making use of the
Boost.Preprocess library.
llvm-svn: 103014
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiateDecl.cpp')
0 files changed, 0 insertions, 0 deletions

