]> granicus.if.org Git - clang/commit
PR18876: The special-case rule that ignores the destruction of a top-level
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 18 Feb 2014 03:51:47 +0000 (03:51 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 18 Feb 2014 03:51:47 +0000 (03:51 +0000)
commit48788de5c8ff8ac4d2766ed9de3447984a2692c6
treefefda7137a4e447246923a0090eed0d3e4d04db8
parentf1f62b816872e5bd7b926c096d32a030c3e8fbb0
PR18876: The special-case rule that ignores the destruction of a top-level
temporary in a decltype expression only applies if that temporary was created
by a function call, not by a function-style cast or other flavour of
expression.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201542 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprCXX.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/p5-cxx0x.cpp
test/SemaCXX/decltype.cpp