]> granicus.if.org Git - clang/commit
Set DeclContext of ParamVarDecl only. No need
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 13 Jul 2010 21:05:02 +0000 (21:05 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 13 Jul 2010 21:05:02 +0000 (21:05 +0000)
commit55a17c057c5293e517609a91438342737ef51545
tree733ac792c74d9aaa031c9711e24ae1166dd5dfb0
parentda65ea86482bc116906edfb9ba1d7124f76cc867
Set DeclContext of ParamVarDecl only. No need
to set that of VarDecl for block variables
(they are already set). Per Doug's comment.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108273 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiate.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp