Go to file
Douglas Gregor cd121fb013 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
2010-05-04 17:13:42 +00:00
clang Introduce a limit on the depth of the macro instantiation backtrace 2010-05-04 17:13:42 +00:00
compiler-rt improve bullets, patch by Mike Miller 2010-05-04 05:19:07 +00:00
llvm Rename variables for consistency. 2010-05-04 17:12:26 +00:00