]> granicus.if.org Git - clang/commit
When transforming a dependent template specialization type, make sure
authorDouglas Gregor <dgregor@apple.com>
Mon, 7 Mar 2011 02:33:33 +0000 (02:33 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 7 Mar 2011 02:33:33 +0000 (02:33 +0000)
commit0a0367a479e2ad204a97f87ed72f18209169b775
tree832884d37bf280e2d400a40eb78f073e9fd578db
parent353ee246e754e38db9b738240d18f1ecf2bb389b
When transforming a dependent template specialization type, make sure
to set the source-location information for the template arguments to
the *transformed* source-location information, not the original
source-location information. Fixes <rdar://problem/8986308> (a libc++
SFINAE issue) and the Boost.Polygon failure.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127150 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/TreeTransform.h
test/SemaTemplate/instantiate-member-template.cpp