]> granicus.if.org Git - clang/commit
When checking for the necessary 'template<>' headers based on the
authorDouglas Gregor <dgregor@apple.com>
Wed, 11 May 2011 23:26:17 +0000 (23:26 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 11 May 2011 23:26:17 +0000 (23:26 +0000)
commit175c5bb2b09217df71319cb3d58b3c511fd04138
tree5742e47603c5849c47bd8f0fa06cfff657c37342
parentcf41cdd14d0b0be75bf2da4559ad5f48cc8dc33e
When checking for the necessary 'template<>' headers based on the
nested of an out-of-line declaration, only require a 'template<>'
header for each enclosing class template that hasn't been previously
specialized; previously, we were requiring 'template<>' for enclosing
class templates and members of class templates that hadn't been
previously specialized. Fixes <rdar://problem/9422013>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131207 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplate.cpp
test/CXX/temp/temp.spec/temp.expl.spec/examples.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p15.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p5-example.cpp [new file with mode: 0644]