]> granicus.if.org Git - clang/commit
PR42220: take into account the possibility of aggregates with base
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 12 Jun 2019 18:32:22 +0000 (18:32 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 12 Jun 2019 18:32:22 +0000 (18:32 +0000)
commit1a31f8df274c88aa56989d2e28caa96d5a3afc99
tree2bf6517a01da51e79139f561d0bdd1ce8485585c
parente496dcaeef8671b64a9150f0fcb7a390fb5e8e7c
PR42220: take into account the possibility of aggregates with base
classes when checking an InitListExpr for lifetime extension.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363188 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaInit.cpp
test/CodeGenCXX/temporaries.cpp