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
Showing
- lib/Sema/SemaExprCXX.cpp 5 additions, 3 deletionslib/Sema/SemaExprCXX.cpp
- test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/p5-cxx0x.cpp 18 additions, 14 deletions...XX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/p5-cxx0x.cpp
- test/SemaCXX/decltype.cpp 10 additions, 0 deletionstest/SemaCXX/decltype.cpp
Loading
Please register or sign in to comment