[all-commits] [llvm/llvm-project] 03c7b9: [libc++][format] Removes vector dependency.
Mark de Wever via All-commits
all-commits at lists.llvm.org
Sun Apr 30 04:34:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 03c7b93aab35106834b6c8dac097ea6bd401ba1e
https://github.com/llvm/llvm-project/commit/03c7b93aab35106834b6c8dac097ea6bd401ba1e
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2023-04-30 (Sun, 30 Apr 2023)
Changed paths:
M libcxx/include/__format/buffer.h
M libcxx/test/libcxx/transitive_includes/cxx03.csv
M libcxx/test/libcxx/transitive_includes/cxx11.csv
M libcxx/test/libcxx/transitive_includes/cxx14.csv
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx2b.csv
Log Message:
-----------
[libc++][format] Removes vector dependency.
During the review of D140653 it was suggested to use vector in
__retarget_buffer instead of manually managing the memory. Due to the
requirements of the Standard it turns out format needs to include vector
leading to a cycle. Therefore switching back to manual memory
management.
This is a preparation to fix https://llvm.org/PR61314
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D148826
More information about the All-commits
mailing list