]> granicus.if.org Git - clang/commit
When substituting in for a template name, do not produce a qualified
authorDouglas Gregor <dgregor@apple.com>
Sat, 5 Mar 2011 20:06:51 +0000 (20:06 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 5 Mar 2011 20:06:51 +0000 (20:06 +0000)
commit5875038f5c333b8bd013f62950281618d08e36a8
treeb790982c706e7866cf653534fc7ec461f42ff718
parent6784304db526cde59046d613c4175ce2caf93e44
When substituting in for a template name, do not produce a qualified
template name as the result of substitution. The qualifier is handled
separately by the tree transformer, so we would end up in an
inconsistent state.

This is actually the last bit of PR9016, and possibly also fixes
PR8965. It takes Boost.Icl from "epic fail" down to a single failure.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127108 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiate.cpp
test/SemaTemplate/issue150.cpp