llvm-project/clang/test
Douglas Gregor fcd5db3bfa Limit the template instantiation depth to some user-configurable value
(default: 99). Beyond this limit, produce an error and consider the
current template instantiation a failure.

The stack we're building to track the instantiations will, eventually,
be used to produce instantiation backtraces from diagnostics within
template instantiation. However, we're not quite there yet.

This adds a new Clang driver option -ftemplate-depth=NNN, which should
eventually be generated from the GCC command-line operation
-ftemplate-depth-NNN (note the '-' rather than the '='!). I did not
make the driver changes to do this mapping.

llvm-svn: 66513
2009-03-10 00:06:19 +00:00
..
Analysis retain/release checker: Allow allocations to fail by returning nil. 2009-03-09 22:46:49 +00:00
CodeGen codegen support for dispose helpers for block literals. 2009-03-07 02:53:18 +00:00
CodeGenCXX Make mangling work with anonymous tag types. Doug, please review 2009-03-07 23:57:03 +00:00
CodeGenObjC NeXT: Set alignment on a number of ObjC metadata variables (matching llvm-gcc). 2009-03-09 22:18:41 +00:00
Coverage Don't mangle names of local variables. 2009-03-05 22:59:19 +00:00
Frontend Rename lib/Driver (etc) to lib/Frontend in prep for the *actual* 2009-03-02 06:16:29 +00:00
Lexer this test isn't testing anything. 2009-03-08 20:12:34 +00:00
Misc add \n characters to the scratch buffer *before* returned tokens. 2009-03-08 08:16:41 +00:00
Parser Implement property '.' notation on Factory/Class objects. Parser changes aren't very pretty:-( 2009-03-09 21:12:44 +00:00
Preprocessor fix PR3764 - A redefinition of a pre-processor macro fails 2009-03-09 20:33:32 +00:00
Rewriter Extend builtin "attribute" syntax to include a notation for 2009-02-14 00:32:47 +00:00
Sema do not warn about -=/=- confusion with macros, thanks to rdogra for a testcase. 2009-03-09 07:11:10 +00:00
SemaCXX Improve recovery from ill-formed scope specifiers. Fixes PR3670. 2009-03-06 19:06:37 +00:00
SemaObjC Fix PR3766, a really nasty silent miscompilation case where we emitted 2009-03-09 21:19:16 +00:00
SemaObjCXX When inside an Objective-C++ method, name lookup should look into the 2009-02-16 19:28:42 +00:00
SemaTemplate Limit the template instantiation depth to some user-configurable value 2009-03-10 00:06:19 +00:00
Serialization true is pass, false is success. 2009-02-03 07:28:12 +00:00
Makefile Add test case for __ASSEMBLER__ definition. 2008-12-01 19:23:47 +00:00
TestRunner.sh Test commit. 2008-10-15 00:26:06 +00:00