]> granicus.if.org Git - clang/commit
[MS] Push outermost class DeclContexts only in -fdelayed-template-parsing
authorReid Kleckner <rnk@google.com>
Tue, 27 Nov 2018 21:20:42 +0000 (21:20 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 27 Nov 2018 21:20:42 +0000 (21:20 +0000)
commit203f103b27d352b82b156a51f6309341432629d3
tree3da35e085e04dc0dc173e6e447dccdb06a18d56c
parent681787a6f6b3b5ca4d267173c206fe4acc52c1fe
[MS] Push outermost class DeclContexts only in -fdelayed-template-parsing

This is more or less a complete rewrite of r347627, and it fixes PR38460
I added a reduced test case to DelayedTemplateParsing.cpp.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@347713 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseTemplate.cpp
test/Parser/DelayedTemplateParsing.cpp