commit | ab91ef1dbe524bba3c0147b11dfdd394153c783d | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Sun Jul 08 02:38:24 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Sun Jul 08 02:38:24 2012 +0000 |
tree | 8e6d5b141b68afa348ef25365edda4cdf835f5f8 | |
parent | 3a7bd67c06d83b6fdc1cfe8295d28c5dbc5e07ba [diff] |
PR9793: Treat substitution as an instantiation step for the purpose of the -ftemplate-depth limit. There are various ways to get an infinite (or merely huge) stack of substitutions with no intervening instantiations. This is also consistent with gcc's behavior. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159907 91177308-0d34-0410-b5e6-96231b3b80d8