[all-commits] [llvm/llvm-project] 03731e: [libc][obvious] only include vector with malloc

michaelrj-google via All-commits all-commits at lists.llvm.org
Thu Feb 10 11:17:47 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03731ed393004978f05ba7faad0c526182d15412
      https://github.com/llvm/llvm-project/commit/03731ed393004978f05ba7faad0c526182d15412
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    M libc/src/__support/CPP/CMakeLists.txt
    M libc/test/utils/CPP/CMakeLists.txt

  Log Message:
  -----------
  [libc][obvious] only include vector with malloc

the vector class, due to being dynamically resized, needs malloc. This
fixes the build so that it only includes it when malloc should be
available.

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




More information about the All-commits mailing list