commit | 22bf46a9a30aaad965762cc2d4f0192eb85f685b | [log] [tgz] |
---|---|---|
author | Faisal Vali <faisalv@yahoo.com> | Sat Jun 08 19:33:09 2013 +0000 |
committer | Faisal Vali <faisalv@yahoo.com> | Sat Jun 08 19:33:09 2013 +0000 |
tree | 626401a739f4151236143b83ffb165095a1f08ad | |
parent | 9808b711aa2153e4fe9a627a2721fa5c3bbbdc97 [diff] |
Fix the parser's updating of the template depth when parsing local templates and late-parsed templates. This is a slight tweak of r180708; It avoids incrementing depth when non-template local classes nested within member templates of local classes are encountered. This patch was LGTM'd by Doug http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130506/079656.html and passed the regression tests that normally pass (i.e. excluding many Module and Index tests on Windows that fail regardless) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183618 91177308-0d34-0410-b5e6-96231b3b80d8