]> granicus.if.org Git - clang/commit
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)
commitbb2011db250de41f69fdbaaa35ff78310a7499f1
tree391bb66408c364db1ff5bc8ce0ce91a43535c21c
parent1ecf0e6e271f3046bc53264318c47eae0fb80afd
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165005 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReaderDecl.cpp
test/Modules/Inputs/templates-top.h