[all-commits] [llvm/llvm-project] 941f70: [YAML] Make `std::array` available (#116059)

NAKAMURA Takumi via All-commits all-commits at lists.llvm.org
Wed Nov 13 18:21:49 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 941f704f0892317701fd263603a729e0ef86dda6
      https://github.com/llvm/llvm-project/commit/941f704f0892317701fd263603a729e0ef86dda6
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-11-14 (Thu, 14 Nov 2024)

  Changed paths:
    M llvm/include/llvm/Support/YAMLTraits.h
    M llvm/unittests/Support/YAMLIOTest.cpp

  Log Message:
  -----------
  [YAML] Make `std::array` available (#116059)

`std::array` will be handled like `MutableArrayRef`;

- Extending elements is not acceptable.
- For applying fewer sequence, trailing elements will be initialized by
default.

Not like;

- `std::array` is not the reference but holds values. Supposing to hold
small count of elements.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list