diff options
author | Nathan Sidwell <nathan@acm.org> | 2021-05-25 07:04:25 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2021-09-09 08:30:04 -0700 |
commit | bb3f5f5d788dd9375ab260f77612fab4a707a1ac (patch) | |
tree | b93cd58011356bac853eef70d611d184a82c7103 /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 71752e00081cb4bc55d60c186cce1a18ed12e405 (diff) | |
download | llvm-bb3f5f5d788dd9375ab260f77612fab4a707a1ac.zip llvm-bb3f5f5d788dd9375ab260f77612fab4a707a1ac.tar.gz llvm-bb3f5f5d788dd9375ab260f77612fab4a707a1ac.tar.bz2 |
[clang] Array list initialization (pre-p0388)
Extends handling of list initialization of bounded array parameters.
This adds the missing checks on converting each initializer for both
std::initializer_list and arrays. And extends
CompareImplicitConversionSequence to compares array size, for two
conversions to array type.
As noted in this patch, there's a defect in the std concerning the
partial orderability of conversion sequences. DR2492 has a suggested
direction that will be simple to add once it (hopefully) is accepted.
Differential Revision: https://reviews.llvm.org/D103088
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions