]> granicus.if.org Git - clang/commit
PR18560: When switching to a new context, don't just save and restore an
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 24 Jan 2014 01:54:52 +0000 (01:54 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 24 Jan 2014 01:54:52 +0000 (01:54 +0000)
commit7b4b90457b42d786b01fcb9e16fd5ea4092210b5
tree689b92644df642486b3196e34940807146a85a01
parent6e8be603854b40c8a7f7c936a0679a4a602292ce
PR18560: When switching to a new context, don't just save and restore an
override for the type of 'this', also clear it out (unless we're entering the
context of a lambda-expression, where it should be inherited).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199962 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/TreeTransform.h
test/SemaCXX/member-init.cpp