]> granicus.if.org Git - clang/commit
PR16243: Use CXXThisOverride during template instantiation, and fix up the
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 7 Jun 2013 02:33:37 +0000 (02:33 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 7 Jun 2013 02:33:37 +0000 (02:33 +0000)
commitcafeb948e6067b8dc897c441da522367917b06f9
treec967fb05c754933e6a36ad7949cbc69fc9d29f14
parent8150da3796300bdc876775e1782331f0e43d2d94
PR16243: Use CXXThisOverride during template instantiation, and fix up the
places which weren't setting it up properly. This allows us to get the right
cv-qualifiers for 'this' when it appears outside a method body in a class
template.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183483 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp
lib/Sema/SemaTemplateInstantiate.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/Sema/TreeTransform.h
test/CXX/expr/expr.prim/expr.prim.general/p3-0x.cpp