[all-commits] [llvm/llvm-project] daa44a: [libc] Add a utility data structure named FixedVec...

Siva Chandra via All-commits all-commits at lists.llvm.org
Tue Aug 9 14:30:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: daa44a2309857e616667215fff418aaa191f1c76
      https://github.com/llvm/llvm-project/commit/daa44a2309857e616667215fff418aaa191f1c76
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M libc/src/__support/CMakeLists.txt
    A libc/src/__support/fixedvector.h
    M libc/test/src/__support/CMakeLists.txt
    A libc/test/src/__support/fixedvector_test.cpp

  Log Message:
  -----------
  [libc] Add a utility data structure named FixedVector.

This data structure uses a backing cpp::array object and supports a
vector like push_back API. In comparison with a traditional vector
data structure, it is of a fixed capacity and cannot be resized.

Differential Revision: https://reviews.llvm.org/D131377




More information about the All-commits mailing list