llvm-project/clang/test/SemaTemplate
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
..
class-template-decl.cpp Fix a long standard problem with clang retaining "too much" sugar 2009-02-19 23:45:49 +00:00
class-template-id-2.cpp Implement the basics of implicit instantiation of class templates, in 2009-03-03 04:44:36 +00:00
class-template-id.cpp Added ClassTemplateSpecializationDecl, which is a subclass of 2009-02-17 01:05:43 +00:00
class-template-spec.cpp Implement the basics of implicit instantiation of class templates, in 2009-03-03 04:44:36 +00:00
default-arguments.cpp Implement parsing of nested-name-specifiers that involve template-ids, e.g., 2009-02-25 19:37:18 +00:00
fun-template-def.cpp Make more AST nodes and semantic checkers dependent-expression-aware. 2009-02-26 14:39:58 +00:00
instantiation-default-1.cpp Template instantiation for function types 2009-02-28 01:04:19 +00:00
instantiation-default-2.cpp Implement the basics of implicit instantiation of class templates, in 2009-03-03 04:44:36 +00:00
instantiation-default-3.cpp Add a test case that goes with the last commit 2009-03-09 23:48:53 +00:00
instantiation-depth.cpp Limit the template instantiation depth to some user-configurable value 2009-03-10 00:06:19 +00:00
nested-name-spec-template.cpp Implement parsing of nested-name-specifiers that involve template-ids, e.g., 2009-02-25 19:37:18 +00:00
right-angle-brackets-0x.cpp Cope with use of the token '>>' inside a template argument list, e.g., 2009-02-25 23:02:36 +00:00
right-angle-brackets-98.cpp Introduce code modification hints into the diagnostics system. When we 2009-02-26 21:00:50 +00:00
temp_arg.cpp Implement parsing of nested-name-specifiers that involve template-ids, e.g., 2009-02-25 19:37:18 +00:00
temp_arg_nontype.cpp Introduce code modification hints into the diagnostics system. When we 2009-02-26 21:00:50 +00:00
temp_arg_template.cpp Implement parsing of nested-name-specifiers that involve template-ids, e.g., 2009-02-25 19:37:18 +00:00
temp_arg_type.cpp Implement template instantiation for ClassTemplateSpecializationTypes, 2009-03-09 23:48:35 +00:00
temp_param.cpp Add partial semantic checking of template arguments that are meant for 2009-02-11 00:19:33 +00:00