[clang] Fix sizeof of boolean vector
authorMariya Podchishchaeva <mariya.podchishchaeva@intel.com>
Thu, 26 Jan 2023 15:43:27 +0000 (10:43 -0500)
committerMariya Podchishchaeva <mariya.podchishchaeva@intel.com>
Thu, 26 Jan 2023 15:44:15 +0000 (10:44 -0500)
commitd4f4b2fe21dddff023aeab775dd63b321e23f918
tree9b26681af61a9dd4df93ca53dbe9dcd6fdbba1e7
parentef4628c66e04e8ac8482df008b3cdbcde6217eb3
[clang] Fix sizeof of boolean vector

Ensure it is at least 8 bits.

Fixes #59801

Reviewed By: erichkeane

Differential Revision: https://reviews.llvm.org/D142550
clang/lib/AST/ASTContext.cpp
clang/test/SemaCXX/vector-bool.cpp