[modules] Ensure we've imported all declarations of a template before
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 24 Feb 2015 02:44:23 +0000 (02:44 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 24 Feb 2015 02:44:23 +0000 (02:44 +0000)
commite3536dda402a958ef1a71abce75e935a1752ac59
tree069fdbc1b011812a40d5797ec452b081094528e6
parent5fb7d8b508189d12a3ed7b9d901f2a2d1c7d0a7b
[modules] Ensure we've imported all declarations of a template before
attempting to lazily deserialize its specializations; otherwise, there might be
pending specializations that we don't know about yet.

llvm-svn: 230301
clang/include/clang/AST/DeclTemplate.h
clang/lib/AST/DeclTemplate.cpp
clang/test/Modules/Inputs/redecl-templates/a.h [new file with mode: 0644]
clang/test/Modules/Inputs/redecl-templates/module.modulemap [new file with mode: 0644]
clang/test/Modules/redecl-templates.cpp [new file with mode: 0644]