diff options
| author | Kazu Hirata <kazu@google.com> | 2025-09-24 08:44:46 -0700 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-24 08:44:46 -0700 | 
| commit | d6160137af892693a22f0864a766e4beb96f93ff (patch) | |
| tree | 0e1695b341788e7bbe72000ed0f250040598f902 /lldb/packages/Python/lldbsuite/test/lldbinline.py | |
| parent | 21ce61bcdebf561d0a7bbcfd12be32a0b51f4ba2 (diff) | |
| download | llvm-d6160137af892693a22f0864a766e4beb96f93ff.zip llvm-d6160137af892693a22f0864a766e4beb96f93ff.tar.gz llvm-d6160137af892693a22f0864a766e4beb96f93ff.tar.bz2 | |
[ADT] Make ilist_select_iterator_type a type alias (NFC) (#160446)
Without this patch, we have:
  template <bool use_iterator_bits, typename Opts, bool arg1, bool arg2>
  struct ilist_select_iterator_type {
    using type = ...;
  }
This means that we must reference "type" with somewhat mouthful:
  typename ilist_select_iterator_type<...>::type
This patch simplifies the reference by making
ilist_select_iterator_type a type alias.
Now, we always obtain "bool use_iterator_bit" from
OptionsT::has_iterator_bits, so this patch folds the logic into the
type alias.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbinline.py')
0 files changed, 0 insertions, 0 deletions
