summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/merge-template-specializations.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [modules] Be sure to emit local specializations of imported templates, even ifRichard Smith2016-10-061-0/+5
the resulting specialization is not referenced by the rest of the AST. This both avoids performing unnecessary reinstantiations in downstream users of the AST file and fixes a bug (breaking modules self-host right now) where we would sometimes fail to emit a definition of a class template specialization if we imported just a declaration of it from elsewhere (see new testcase for reduced example). llvm-svn: 283489
OpenPOWER on IntegriCloud