[Clang] Fix capture of values initialized by bitfields
authorCorentin Jabot <corentinjabot@gmail.com>
Thu, 4 Aug 2022 21:02:17 +0000 (23:02 +0200)
committerCorentin Jabot <corentinjabot@gmail.com>
Thu, 4 Aug 2022 21:58:47 +0000 (23:58 +0200)
commita1a71b7dc97b35133425a31ede90c40529f1be9e
treefeb5f75339b939ad779224b9aa0b50c2524dc92f
parentadea1fa047af3528e5a640acb7a80afdcca726d1
[Clang] Fix capture of values initialized by bitfields

This fixes a regression introduced in 127bf44

Differential Revision: https://reviews.llvm.org/D131202
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaExpr.cpp
clang/test/SemaCXX/cxx1z-decomposition.cpp