diff options
author | jeanPerier <jperier@nvidia.com> | 2025-06-25 11:51:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-25 11:51:07 +0200 |
commit | 22ee837ec0ae5c097fa8e2cf49bfc504664f5ebe (patch) | |
tree | 75471f9c2e8299256357ec1091f424f70529d1b1 /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | 5d2ece14378ef00b569e5f29034a0236d735da44 (diff) | |
download | llvm-22ee837ec0ae5c097fa8e2cf49bfc504664f5ebe.zip llvm-22ee837ec0ae5c097fa8e2cf49bfc504664f5ebe.tar.gz llvm-22ee837ec0ae5c097fa8e2cf49bfc504664f5ebe.tar.bz2 |
[flang][NFC] do not copy fields in fir::RecordType::getTypeList (#145530)
For historical reason, `fir::RecordType::getTypeList` was returning an
std::vector, causing the entire field list to be copied when called.
It is called a lot indirectly in all type helpers, which themselves are
called a lot in derived type heavy code like WRF.
The `fir::hasDynamicType` helper is also called a lot, and it can just
check for length parameters to avoid looping on all derived type
components in most cases.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions