]> granicus.if.org Git - clang/commit
When we inject a declaration into a namespace, add the primary DeclContext to
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 23 Mar 2014 19:45:26 +0000 (19:45 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 23 Mar 2014 19:45:26 +0000 (19:45 +0000)
commit9d5cd13e24d080ffb2d0af53cf06efbc1bdd5b2e
tree94c364e9ac1a37aaf629d98562e5aad80799b82d
parent6060bb2b9be28ec2ca2d0346b383d767e8a125ae
When we inject a declaration into a namespace, add the primary DeclContext to
the update set rather than the current DeclContext. Add test for the local
extern case too.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204568 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTWriterDecl.cpp
test/Modules/Inputs/cxx-templates-b.h
test/Modules/Inputs/cxx-templates-common.h
test/Modules/cxx-templates.cpp