]> granicus.if.org Git - clang/commit
If a CXXRecordDecl is a class template, the 'this' type should be the injected class...
authorAnders Carlsson <andersca@mac.com>
Sat, 13 Jun 2009 02:59:33 +0000 (02:59 +0000)
committerAnders Carlsson <andersca@mac.com>
Sat, 13 Jun 2009 02:59:33 +0000 (02:59 +0000)
commit31a08752eda39ca17154538e2f2587f8d339a1fa
tree1808b3eb816483b4e71c97895d5e720087fa7bea
parent0ceffb51b28b09db67404058c642dcb1f877f6e8
If a CXXRecordDecl is a class template, the 'this' type should be the injected class name type. Fixes pr4383.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73284 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/DeclCXX.cpp
test/SemaTemplate/instantiate-function-1.cpp