[Clang][AST] Fix __has_unique_object_representations computation for unnamed bitfields.
authorRoy Jacobson <roi.jacobson1@gmail.com>
Sat, 11 Mar 2023 16:39:33 +0000 (18:39 +0200)
committerRoy Jacobson <roi.jacobson1@gmail.com>
Sat, 1 Apr 2023 21:54:45 +0000 (00:54 +0300)
commit1d4d21e2e0950f6c451198e380371ee3142ce2fb
treeae8edb575c99ee74786f3556388e9f0f6434088d
parent0a3fdd65302b6b072dd6ce58939645b34d563950
[Clang][AST] Fix __has_unique_object_representations computation for unnamed bitfields.

As pointed out in https://github.com/llvm/llvm-project/issues/61336, objects with
unnamed bitfields aren't be uniquely representable.

Reviewed By: shafik, Endill

Differential Revision: https://reviews.llvm.org/D145852
clang/docs/ReleaseNotes.rst
clang/lib/AST/ASTContext.cpp
clang/test/SemaCXX/type-traits.cpp