]> granicus.if.org Git - clang/commit
[modules] Don't try to merge template specializations by performing name lookup
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 11 Jul 2014 00:20:06 +0000 (00:20 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 11 Jul 2014 00:20:06 +0000 (00:20 +0000)
commit15fd31835bad6f75549ed923319f7e580a3c91d8
tree39653460f3cf5fd51d092b1ac58839908c4ffe93
parentb8824393b087d709703a7d76dc833a902f2dda10
[modules] Don't try to merge template specializations by performing name lookup
into their container; we won't find them there. These things are already being
merged when they're added to their primary template's folding set, so this
merging is redundant (and causes us to reject-valid because we think we've
found an odr violation).

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