diff options
author | AMS21 <AMS21.github@gmail.com> | 2023-06-13 18:00:03 +0000 |
---|---|---|
committer | Piotr Zegar <me@piotrzegar.pl> | 2023-06-13 18:13:52 +0000 |
commit | 311091e2b007ebe0da9877953a9a56a51102e60d (patch) | |
tree | f0edc4695fb0c1a8a5a671396d605b2dce32d1a6 /lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.cpp | |
parent | 92420f4aefbef49c3eccaf678bc23713a59e5eab (diff) | |
download | llvm-311091e2b007ebe0da9877953a9a56a51102e60d.zip llvm-311091e2b007ebe0da9877953a9a56a51102e60d.tar.gz llvm-311091e2b007ebe0da9877953a9a56a51102e60d.tar.bz2 |
[clang-tidy] Fix crash in `modernize-use-default-member-init`
This was causes by `getValueOfValueInit` unconditionally calling
`getScalarTypeKind` on the member type, which would then trigger an
assertions since arrays are not scalar type.
This fixes llvm#63285
Reviewed By: PiotrZSL
Differential Revision: https://reviews.llvm.org/D152802
Diffstat (limited to 'lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.cpp')
0 files changed, 0 insertions, 0 deletions