Add redecls into their lexical DeclContext: this is what they assert on, and the...
authorAxel Naumann <Axel.Naumann@cern.ch>
Tue, 2 Oct 2012 13:06:13 +0000 (13:06 +0000)
committerAxel Naumann <Axel.Naumann@cern.ch>
Tue, 2 Oct 2012 13:06:13 +0000 (13:06 +0000)
commit0439f03bcf501c1bfa1892d2c119ca068c1fe159
tree1c0bebb1c963b5bdf6b1e02aaa1de197288638f2
parent56faa551b9c5e5f0c26df6ca6cbd00a2a4ea5ccb
Add redecls into their lexical DeclContext: this is what they assert on, and the merging should have set it correctly.
This is especially relevant for templatedDecls that might be injected (and thus have their DeclContext set to) somewhere completely different.

llvm-svn: 165005
clang/lib/Serialization/ASTReaderDecl.cpp
clang/test/Modules/Inputs/templates-top.h