]> granicus.if.org Git - clang/commit
PR14838: When a member reference is bound to a temporary, don't forget to
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 8 Jan 2013 00:08:23 +0000 (00:08 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 8 Jan 2013 00:08:23 +0000 (00:08 +0000)
commit774d8b4679ce1317da0f18336c3d27bdb11e5f63
treebbe8029094d8a496df32d8b4c1ee4fc38b487c22
parent3c7236e01dfb69b370857ccd71c7bcf5ce80b36f
PR14838: When a member reference is bound to a temporary, don't forget to
perform the semantic checks associated with the destruction of that temporary.
It'll be destroyed at the end of the constructor.

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