summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/macro-backtrace-limit.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename this test to a more general name in preparation for adding moreChandler Carruth2011-10-161-32/+0
| | | | | | tests to it to cover more of the macro bactrace functionality. llvm-svn: 142116
* Switch the diagnostic messages about macros to use the terms 'expanded'Chandler Carruth2011-07-141-6/+6
| | | | | | | | | and 'expansions' rather than 'instantiated' and 'contexts'. This is the first of several patches migrating Clang's terminology surrounding macros from 'instantiation' to 'expansion'. llvm-svn: 135135
* tests: Use %clangxx when using driver for C++, in case C++ support is disabled.Daniel Dunbar2010-06-291-1/+1
| | | | llvm-svn: 107153
* Introduce a limit on the depth of the macro instantiation backtraceDouglas Gregor2010-05-041-0/+32
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
OpenPOWER on IntegriCloud