PR47954 / DR2126: permit temporary objects that are lifetime-extended by
authorRichard Smith <richard@metafoo.co.uk>
Fri, 23 Oct 2020 21:27:24 +0000 (14:27 -0700)
committerRichard Smith <richard@metafoo.co.uk>
Fri, 23 Oct 2020 21:29:18 +0000 (14:29 -0700)
commitcb9b9842d31d6082c6a2259a64eb5d47bd680d32
tree8262d012913e580591bde978c09fedba3cc36ed0
parent6a72635881e98dbac458323fe9666af6507a09ec
PR47954 / DR2126: permit temporary objects that are lifetime-extended by
variables that are usable in constant expressions to themselves be
usable in constant expressions.
clang/include/clang/AST/ExprCXX.h
clang/lib/AST/ExprCXX.cpp
clang/lib/AST/ExprConstant.cpp
clang/test/CXX/drs/dr21xx.cpp
clang/test/CodeGenCXX/const-init-cxx11.cpp
clang/test/SemaCXX/constant-expression-cxx11.cpp
clang/www/cxx_dr_status.html